AnsweredAssumed Answered

Configurazione LDAP

Question asked by d.brugo on Aug 24, 2009
Latest reply on Sep 14, 2009 by openpj
Buongiorno sono un nuovo iscritto al forum in Italiano di Alfresco.
Ho un probelma devo configurare ldap per alfresco per cui ho modificato il seguenti file xml:
    commentato il segunete codice per abilitare solo ldap
    <!– DAO that rejects changes - LDAP is read only at the moment. It does allow users to be deleted with out warnings from the UI. –>
        <!– <bean name="authenticationDao" class="" >
            <property name="allowDeleteUser">
        </bean>    –>
    Editato le voci in grassetto

    # 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

    altro file
    # The query to find the people to import

    # The search base of the query to find people to import

    # The attribute name on people objects found in LDAP to use as the uid in Alfresco

    # The attribute on person objects in LDAP to map to the first name property in Alfresco

    # The attribute on person objects in LDAP to map to the last name property in Alfresco

    # The attribute on person objects in LDAP to map to the email property in Alfresco

    # The attribute on person objects in LDAP to map to the organizational id  property in Alfresco

    # The default home folder provider to use for people created via LDAP import

    # The query to find group objects

    # The search base to use to find group objects

    # The attribute on LDAP group objects to map to the gid property in Alfrecso

    infine editato il file file-servers-custom.xml
    aggiungendo il seguente codice
    <config evaluator="string-compare" condition="CIFS Server" 
            <serverEnable enabled="false"/>
          <host name="" domain="provincia"/>
          <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=" passthru ">


          <sessionDebug flags="Negotiate,Socket"/>

      <config evaluator="string-compare" condition="FTP Server"
            <serverEnable enabled="false"/> 
            <!– Run on a non-privileged port –>
          <!– FTP authentication –>
          <authenticator type="alfresco"/>        
              <!–      <debug
              flags="File,Search,Error,Directory,Info,DataPort"/> –>

    <config evaluator="string-compare" condition="Filesystem Security" 
        <authenticator type=" passthru ">
          <!– the name of your ldap server  – >    

    Per Concludere ho fatto diverse prove, arrivo alla pagina di login ma non accedo ad Alfresco.
    Sembrerebbe un problema di sincronizzazione.