cancel
Showing results for 
Search instead for 
Did you mean: 

DEBUG Message:Protocol order primary=TCP/IP NetBIOS

gawabe
Champ in-the-making
Champ in-the-making
Hi…
I am using alfresco 3.3g community edition and trying to enable CIFS shared drive. I am working in linux environment and I had already configured my alfresco with ldap active directory.

I updated the following properties in alfresco-global.properties file
cifs.enabled=true
cifs.ipv6=disabled
cifs.disableNativeCode=false
cifs.serverName=${localname}A
cifs.urlfile.prefix=http://mySystemName:8080/alfresco
cifs.domain=
cifs.broadcast= (subnet mask address)
cifs.bindto= {system IP address}
cifs.hostannounce=true
cifs.ipv6.enabled=false
cifs.sessionTimeout=900
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
cifs.platforms=linux,solaris,macosx
cifs.WINS.autoDetectEnabled=true

Enabled Port forwarding (1137, 1138, 1139 and 1445) and added the ports (445, 137, 138, 139) in my firewall.
For CIFS server debugging
log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.acegi=debug

Restarted my tomcat and Still cant able to access my alfresco shared drive.
I am getting the following message in tomcat log:
DEBUG [smb.protocol.auth] Protocol order primary=TCP/IP NetBIOS, secondary=Native SMB (port 445)
DEBUG [smb.protocol.auth] Using offline check interval of 300 seconds

Can anyone say the reason for this message and do I need to configure anything more to have CIFS enabled?
1 REPLY 1

ssaravanan
Champ in-the-making
Champ in-the-making
what's your authentication chain, from what you have said it seems you are using ldap-ad, I use something like this
authentication.chain=alfinst:alfrescoNtlm,passthru1Smiley Tongueassthru,ldap1:ldap-ad
and edit the file
tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Authentication/alfrescoNtlm/alfresco-authentication.properties
alfresco.authentication.authenticateCIFS=false
If your users are accessing CIFS inside LAN, no need for port forwarding in the firewall…. if they are in the same network
they would be able to access CIFS.
In the logs you will see something like this
10:47:12,269  WARN  [app.servlet.NTLMAuthenticationFilter] NTLM filter, error resolving CIFS host nameTESTCENTRALA
10:47:12,315  INFO  [app.servlet.NTLMAuthenticationFilter] NTLM filter using server name TESTCENTRAL

Try mounting it
mount -t cifs //localhost/alfresco /mnt/alfresco -o username=xxx,password=xxx

Refer other posts for pointers http://forums.alfresco.com/en/viewtopic.php?f=8&t=938