cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP & CIFS

agey
Champ in-the-making
Champ in-the-making
Hi all,

I have an Ubuntu instance with Alfresco 3.0 in the Amazon Cloud. Alfresco is configured to authenticate with LDAP. LDAP is installed on another instance in Amazon Cloud. This configuration works fine. Now I want to connect to Alfresco by CIFS, can anyone tell me how I have to configure Alfresco to do this?

Thanks a lot in advance,
1 REPLY 1

agey
Champ in-the-making
Champ in-the-making
I have followed the steps described in this link and it woks:

http://wiki.alfresco.com/wiki/LDAP-CIFS_on_Alfresco_Enterprise_v3.0.0

I can connect to Alfresco by FTP and I can connect to Alfresco by CIFS but only from server.

If I try to connect to Alfresco from my PC on Windows XP using this command line:
\\<ip_address>\Alfresco
returns this: access denied.

If I try to connect to Alfresco using Start –> Run
\\<ip_address>\Alfresco
returns this: The Network Path Was Not Found.

If i try to connect from Ubuntu it returns:
smbclient -U username \\\\<ip_address>\\Alfresco password
timeout connecting to <ip_address>:445
timeout connecting to <ip_address>:139
Error connecting to <ip_address> (operation is in progress)
Connection to http://<ip_address> failed (Error NT_STATUS_ACCESS_DENIED)

TCP ports 445 and 139 are open and UDP ports 137 and 138 are open too.

My CIFS configuration is:


<config evaluator="string-compare" condition="CIFS Server">
          <serverEnable enabled="true"/>
      <host name="${cifs.localname}A" domain="${cifs.domain}"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>${cifs.broadcast}</broadcast>

      <!– 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 –>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>

      <!– CIFS authentication –>
      <authenticator type="enterprise">
      </authenticator>


<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>


Can anyone point me what is the problem?

Thanks