cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS on Windows Server 2012

fsasse
Champ in-the-making
Champ in-the-making
Hello.

I have the latest version of the Enterprise trial (4.1.5) working fine on Windows Server 2012, including AD integration with LDAP authorization and synchronization.
However, I cannot get CIFS to work with any of the examples found on this forum or in other places.

Is there a known issue with Windows Server 2012 and CIFS not working with Alfresco?
11 REPLIES 11

afischer
Champ in-the-making
Champ in-the-making
i'm quite new with alfresco.
i installed the Alfresco 5.0d community edition on a Windows Server 2012 R2 and try to get CIFS working.

I've set the local security policy.
I use the following alfresco-global.properties

#########################################################################################################
###LDAP AUTH####
#authentication.chain=alfinst:alfrescoNtlm,ldap1:ldap-ad
authentication.chain=ldap1:ldap-ad,passthru1Smiley Tongueassthru
#You can login by bulidin alfresco authentication system and ldap

ntlm.authentication.sso.enabled=false

ldap.authentication.allowGuestLogin=false
#do not allow guest logon

ldap.authentication.userNameFormat=%s@domain.com
#your login is the same like user name in windows

ldap.authentication.java.naming.provider.url=ldap://dc.domain.com:389
ldap.authentication.defaultAdministratorUserNames=filereader

#LDAP Sync#

synchronization.synchronizeChangesOnly=false
synchronization.import.cron=0 1 0 * * ?
synchronization.syncWhenMissingPeopleLogIn=true
synchronization.autoCreatePeopleOnLogin=true

ldap.synchronization.active=true
ldap.synchronization.queryBatchSize=1000
ldap.synchronization.java.naming.security.authenticaton=simple

ldap.synchronization.java.naming.security.principal=xxxxx@domain.com
ldap.synchronization.java.naming.security.credentials=xxxxxxx


ldap.synchronization.groupSearchBase=cn\=Alfresco,ou\=Group_Usergroups,dc\=domain,dc\=com
#ldap.synchronization.userSearchBase=ou\=AllUsers,dc\=domain,dc\=com

ldap.synchronization.userSearchBase=ou\=AllUsers,dc\=domain,dc\=com
###NEW####

#Passthru config
passthru.authentication.servers=DomainController.domain.com
passthru.authentication.defaultAdministratorUserNames=Admin

#SSO config
ntlm.authentication.sso.enabled=true
synchronization.import.cron=0 0 0 * * ?
synchronization.synchronizeChangesOnly=false
synchronization.allowDeletions=true


###NEW ENDE#####
##cifs###
alfresco.authentication.authenticateCIFS=true
cifs.enabled=true
cifs.domain=domain.com
cifs.serverName=${localname}
passthru.authentication.authenticateCIFS=true
cifs.hostannounce=true
cifs.localname=${localname}A
cifs.urlfile.prefix=http://${localname}:8080/alfresco/
cifs.broadcast=255.255.255.255
cifs.pseudoFiles.enabled=false
cifs.pseudoFiles.explorerURL.enabled=false
cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url
cifs.pseudoFiles.shareURL.enabled=false
cifs.pseudoFiles.shareURL.fileName=__Share.url
cifs.tcpipSMB.port=445
cifs.netBIOSSMB.sessionPort=139
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138

cifs.sessionDebug=NETBIOS, SOCKET


###############################################################

So far there is no error in log file.
But i can't map the drive using:
\\${servername}a\alfresco

i'm not really sure what i have to add to the host and lmhost File?
Can someone please give me an example?
Or are there errors in my alfresco-prop file?




bbukvic
Champ in-the-making
Champ in-the-making

Hello

I have very similar situation like yours.

Did you ever solve this issue(s) and how?

Thank you in advance