CIFS configuration on Windows Server 2012

cancel
Showing results for 
Search instead for 
Did you mean: 
bilelkaabar
Member II

CIFS configuration on Windows Server 2012

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?

5 Replies
jamesarbrown
Member II

Re: CIFS configuration on Windows Server 2012

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

bilelkaabar
Member II

Re: CIFS configuration on Windows Server 2012

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.

jamesarbrown
Member II

Re: CIFS configuration on Windows Server 2012

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

douglascrp
Advanced II

Re: CIFS configuration on Windows Server 2012

This is an old blog post, but I think the information available there still applies

SIWI » Alfresco and Windows 

Check the CIFS section.

jamesarbrown
Member II

Re: CIFS configuration on Windows Server 2012

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=debug

log4j.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