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>


_________________________________________________________________
Con Windows Live, puoi organizzare, modificare e condividere le tue foto.
http://www.microsoft.com/italy/windows/windowslive/products/photo-gallery-edit.aspx
_______________________________________________
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