06-01-2017 10:04 AM
Hello,
I have been trying for a couple weeks to configure CIFS on Alfresco. I tried on Windows 7,10 and Server 2012.
I have tried all possible solutions with no success.
- Added the config in alfesco-gloabl-properties
- Created new rules in firewall to block the port 445 and allow 137,138,139 (as indicated in alfresco documentaion)
- Added in the registry the key SMBDeviceEnabled and set it to '0'
- Config Lan Manager in local policies to use NTLMv1 and v2 if negociated.
- I deactivated File and Printer Sharing in the Windows Server.
For God sake nothing has given a result.
My objectif is to get it to work on the Windows server.
One of the problems I am seeing is the port 445 is still actif (The system is listening on that port). Adding the key SMBDeviceEnabled seems not to give effect.
Does anyone have any idea?? What I may be missing?
06-03-2017 04:38 AM
I am having problems too. What I did notice was \\servername is error. \\servername\alfresco works.
I am going to post on that now in a new thread
06-03-2017 02:00 PM
In my case \\servername\alfresco is not found (neither using the IP address)
Using \\IP_address only redirects me to the Windows CIFS..
What's more weird, that in the log file nothg is about CIFS even though I configured the log4j.
06-04-2017 03:09 PM
I deactivated file and printer sharing on the network card properties
Debug worked for me with
cifs.sessionDebug=NETBIOS, SOCKET, NOTIFY, ECHO
The old log4j stuff I found on internet did not work
06-08-2017 11:19 AM
This is an old blog post, but I think the information available there still applies
Check the CIFS section.
06-09-2017 03:00 AM
In C:\alfresco-community\tomcat\shared\classes\alfresco\extension
The custom-log4.properties.sample can be renamed custom-log4.properties
Mine currently has
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.acegi=debug
log4j.logger.org.alfresco.passthru.auth=debuglog4j.logger.alfresco.subsystems.Authentication=debug
But i also have set within file
C:\alfresco-community\tomcat\shared\classes\alfresco\extension\log4.properties
And has some changes like
log4j.rootLogger=error, Console, File, Auth
log4j.logger.org.alfresco.fileserver=debug
log4j.logger.org.alfresco.filesys.auth.cifs.PassthruCifsAuthenticator=debug
Maybe I could later try and get this into the custom and see a tidier solution, which lines are making the difference, but somehow between the two I get logging
Explore our Alfresco products with the links below. Use labels to filter content by product module.