Hi,
I have a Nuxeo using active directory. Definition of directory
'userDirectory' is almost the same, I just give you the differences,
maybe it will help. (I am no LDAP expert btw) :
<idField>cn</idField>
<searchClass>person</searchClass>
<creationClass>person</creationClass> <!-- instead of
<creationClass>users</creationClass> -->
<fieldMapping name="username">cn</fieldMapping>
Kr.
Federica Boffa wrote:
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>(&(sn=toto*)(myCustomAttribute=somevalue))</searchFilter>
Beware that "&" writes "&" 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
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm