Hello,

Please have a look at http://doc.nuxeo.org/xwiki/bin/view/FAQ/LDAPSetup

You should go step by step : firstly configure the users, then the groups.
Look at the server log file when you try to connect with an AD user and tell us the errors you see.

Regards,
Julien


Federica Boffa a écrit :
Hi everybody, how are you?
I'm fine but I have a problem with nuxeo..
I want to config nuxeo with ldap in active directory.
I have created the user bindDn and now I configure the file default-ldap-users-directory-bundle.xml and default-ldap-groups-directory-bundle.xml but I have an error on directory ldap, I can't configure this part: what I do to inser in Directory name and in the other field? Thank you

  <extension target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory"
    point="directories">

*    <directory name="userDirectory">
      <server>default</server>
      <schema>user</schema>
      <idField>username</idField>
      <passwordField>password</passwordField>*

      <searchBaseDn>ou=****,dc=****,dc=****</searchBaseDn>
*      <searchClass>users</searchClass>
*
      <!-- To additionally restricte entries you can add an
        arbitrary search filter such as the following:
<searchFilter>(&amp;(sn=toto*)(myCustomAttribute=somevalue))</searchFilter>
        Beware that "&" writes "&amp;" in XML.
      -->

      <!-- use subtree if the people branch is nested -->
      *<searchScope>onelevel</searchScope>*

      <!-- using 'subany', search will match *toto*. use 'subfinal' to
        match *toto and 'subinitial' to match toto*. subinitial is the
        default  behaviour-->
     * <substringMatchType>subany</substringMatchType>

      <readOnly>false</readOnly>*

      <!-- comment <cache* /> tags to disable the cache -->
      <!-- cache timeout in seconds -->
     * <cacheTimeout>3600</cacheTimeout>*

      <!-- maximum number of cached entries before global invalidation -->
      *<cacheMaxSize>1000</cacheMaxSize>

      <creationBaseDn>ou=*****,dc=*****,dc=*****</creationBaseDn>
      <creationClass>top</creationClass>
      <creationClass>users</creationClass>
      <creationClass>organizationalPerson</creationClass>
      <creationClass>inetOrgPerson</creationClass>

      <rdnAttribute>uid</rdnAttribute>
      <fieldMapping name="username">uid</fieldMapping>
      <fieldMapping name="password">userPassword</fieldMapping>
      <fieldMapping name="firstName">givenName</fieldMapping>
      <fieldMapping name="lastName">sn</fieldMapping>
      <fieldMapping name="company">o</fieldMapping>
      <fieldMapping name="email">mail</fieldMapping>

      <references>

        <inverseReference field="groups" directory="groupDirectory"
          dualReferenceField="members" />

      </references>*

    </directory>

  </extension>

</component>


------------------------------------------------------------------------
Doretta Doretta ti "cerca"! Vieni a trovarla sul suo Spaces! <http://doretta82live.spaces.live.com/>
------------------------------------------------------------------------

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

--
Julien Carsique, Nuxeo (Paris, France)
www.nuxeo.com - The Open Source ECM Platform - www.nuxeo.org
Nuxeo ECM Stack - The Java EE, scalable, standard-based ECM Platform
[email protected] | Tel: +33 1 40 33 79 87


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to