AnsweredAssumed Answered

Active Directory and CIFS

Question asked by trelofysikos on Dec 5, 2008
Latest reply on Dec 11, 2008 by trelofysikos

I'm trying to make Active Directory and CIFS work together in Alfresco Labs3b. I have managed to make Alfresco work with AD and authenticate AD users.
Everything seems to work fine except, when i try to open CIFS network folder from windows explorer with a user/pass from AD. It does'nt work for any AD users and only alfresco admin has access.
I want users  to be able to scan a document to their User Home in Alfresco.

I tried using authentication=alfresco/simple/passthru, NTLM  and SSO but either nothing works or i'm doing it wrong.
I also read some wiki guides and posts in this forum and could not resolve this issue.
passthru seems promising but can't get it to work.

my file

# This properties file brings together the common options for LDAP authentication rather than editing the bean definitions

# How to map the user id entered by the user to taht passed through to LDAP
# - simple
#    - this must be a DN and would be something like
#      CN=%s,DC=company,DC=com
# - digest
#    - usually pass through what is entered
#      %s    

# The LDAP context factory to use

# The URL to connect to the LDAP server

# The authentication mechanism to use

# The default principal to use (only used for LDAP sync)

# The password for the default principal (only used for LDAP sync)

# Escape commas entered by the user at bind time
# Useful when using simple authentication and the CN is part of the DN and contains commas

# Escape commas entered by the user when setting the authenticated user
# Useful when using simple authentication and the CN is part of the DN and contains commas, and the escaped \, is
# pulled in as part of an LDAP sync
# If this option is set to true it will break the default home folder provider as space names can not contain \

Do i need to change more properties than

is using
ok? or do i have to use authentication=simple? it seems to be ok for the alfresco auth.

my file-servers-custom.xml

<alfresco-config area="file-servers">

<config evaluator="string-compare" condition="CIFS Server">
     <serverEnable enabled="true"/>
      <host name="ACIFS" domain="mydomain"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB platforms="linux,solaris,macosx"/>

      <!– Can be mapped to non-privileged ports, then use firewall rules to forward
          requests from the standard ports –>
      <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32Announce interval="5"/>

      <!– CIFS authentication –>
      <authenticator type="alfresco">


      <sessionDebug flags="Negotiate,Socket"/>

  <config evaluator="string-compare" condition="Filesystem Security">
  <authenticator type="alfresco">

   <!– To override the default Alfresco filesystem use replace="true", to –>
   <!– add additional filesystems remove the replace="true" attribute     –>
   <config evaluator="string-compare" condition="Filesystems" replace="true">

         <filesystem name="Alfresco">

            <!– Add a URL file to each folder that links back to the web client –>

            <!– Mark locked files as offline –>

            <!– Desktop actions –>



            <accessControl default="Write">
               <user name="admin" access="Write"/>
               <address subnet="" mask="" access="Write"/>
       <!– AVM virtualization view of all stores/versions for WCM –>
         <avmfilesystem name="AVM">


Can anybody help me with this ?

Thanks in advance.