11-23-2012 04:29 AM
hello
I need some help to configure the connexion to the LDAP to get the group. The configuration file default-ldap-users-directory-config.xml to get the users work perfectly. Someone can help me to do the same thing for the groups LDAP ? Thanks a lot
Here is the parameters of the file default-ldap-users-directory-config.xml:
<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>dc=xxx,dc=xxx</searchBaseDn>
<searchClass>person</searchClass>
<searchScope>subtree</searchScope>
<substringMatchType>subany</substringMatchType>
<readOnly>true</readOnly>
<cacheTimeout>3600</cacheTimeout>
<cacheMaxSize>1000</cacheMaxSize>
<missingIdFieldCase>lower</missingIdFieldCase>
<querySizeLimit>200</querySizeLimit>
<queryTimeLimit>0</queryTimeLimit>
<creationBaseDn>ou=people,dc=example,dc=com</creationBaseDn>
<creationClass>top</creationClass>
<creationClass>person</creationClass>
<creationClass>organizationalPerson</creationClass>
<creationClass>inetOrgPerson</creationClass>
<rdnAttribute>sAMAccountName</rdnAttribute>
<fieldMapping name="username">sAMAccountName</fieldMapping>
<fieldMapping name="password">userPassword</fieldMapping>
<fieldMapping name="firstName">givenName</fieldMapping>
<fieldMapping name="lastName">sn</fieldMapping>
<fieldMapping name="company">description</fieldMapping>
<fieldMapping name="email">mail</fieldMapping>
<references>
<inverseReference field="groups" directory="groupDirectory"
dualReferenceField="members" />
</references>
</directory>
11-23-2012 07:09 AM
Hi,
You must contribute a "groupDirectory"; here you're only contributing a "userDirectory". Look at the samples in the source code.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.