07-23-2010 05:19 AM
log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.fileserver=debug
cifs.sessionDebug=NETBIOS, SOCKET
(this is also documented in the wiki)cifs.hostannouce=true
cifs.disableNIO=true
cifs.disableNativeCode=true
# CIFS session debug flags (also enable org.alfresco.fileserver=debug logging level)
# Comma delimeted list of levels :-
# NETBIOS, STATE, RXDATA, TXDATA, DUMPDATA, NEGOTIATE, TREE, SEARCH, INFO, FILE, FILEIO, TRANSACT
# ECHO, ERROR, IPC, LOCK, PKTTYPE, DCERPC, STATECACHE, TIMING, NOTIFY, STREAMS, SOCKET, PKTPOOL
# PKTSTATS, THREADPOOL, BENCHMARK
#cifs.sessionDebug=NETBIOS, SOCKET
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING/DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="cifsServerConfig" class="org.alfresco.filesys.config.CIFSConfigBean">
<property name="serverEnabled">
<value>${cifs.enabled}</value>
</property>
<property name="serverName">
<value>${cifs.serverName}</value>
</property>
<property name="domainName">
<value>${cifs.domain}</value>
</property>
<property name="serverComment">
<value>Alfresco CIFS Server</value>
</property>
<!– Set to the broadcast mask for the subnet –>
<property name="broadcastAddress">
<value>${cifs.broadcast}</value>
</property>
<!– Set to the IP for the adapter for Java socket –>
<property name="bindToAddress">
<value>${cifs.bindto}</value>
</property>
<!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
<property name="tcpipSMB">
<bean class="org.alfresco.filesys.config.TcpipSMBConfigBean">
<!–
Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard
ports
–>
<property name="port">
<value>${cifs.tcpipSMB.port}</value>
</property>
<property name="platforms">
<value>windows,linux,solaris,macosx</value>
</property>
<property name="ipv6Enabled">
<value>${cifs.ipv6.enabled}</value>
</property>
</bean>
</property>
<property name="netBIOSSMB">
<bean class="org.alfresco.filesys.config.NetBIOSSMBConfigBean">
<property name="bindTo">
<value>${cifs.bindto}</value>
</property>
<property name="sessionPort">
<value>${cifs.netBIOSSMB.sessionPort}</value>
</property>
<property name="namePort">
<value>${cifs.netBIOSSMB.namePort}</value>
</property>
<property name="datagramPort">
<value>${cifs.netBIOSSMB.datagramPort}</value>
</property>
<property name="platforms">
<value>windows,linux,solaris,macosx</value>
</property>
</bean>
</property>
<property name="hostAccouncerEnabled">
<value>${cifs.hostannounce}</value>
</property>
<property name="hostAccounceInterval">
<value>5</value>
</property>
<!– Use Win32 NetBIOS interface on Windows –>
<property name="win32NetBIOS">
<bean class="org.alfresco.filesys.config.Win32NetBIOSConfigBean" />
</property>
<property name="win32HostAnnouncerEnabled">
<value>${cifs.hostannounce}</value>
</property>
<property name="win32HostAnnounceInterval">
<value>5</value>
</property>
<!– CIFS authentication –>
<property name="authenticator">
<ref bean="CifsAuthenticator" />
</property>
<!– Disable the use of asynchronous sockets/NIO code –>
<property name="disableNIO">
<value>${cifs.disableNIO}</value>
</property>
<!– Disable the use of JNI code –>
<!– Only currently affects Windows –>
<property name="disableNativeCode">
<value>${cifs.disableNativeCode}</value>
</property>
<!– Session timeout, in seconds –>
<!– Defaults to 15 minutes, to match the default Windows client setting –>
<!– If no I/O is received within that time the session is closed by the server –>
<property name="sessionTimeout">
<value>${cifs.sessionTimeout}</value>
</property>
<!– Enable WINS if used for NetBIOS name lookups –>
<property name="WINSConfig">
<bean class="org.alfresco.filesys.config.WINSConfigBean">
<property name="autoDetectEnabled">
<value>${cifs.WINS.autoDetectEnabled}</value>
</property>
<property name="primary">
<value>${cifs.WINS.primary}</value>
</property>
<property name="secondary">
<value>${cifs.WINS.secondary}</value>
</property>
</bean>
</property>
<property name="sessionDebugFlags">
<value>${cifs.sessionDebug}</value>
</property>
</bean>
</beans>
08-02-2010 05:38 AM
08-02-2010 08:47 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.