<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Ldap description group in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-description-group/m-p/328092#M15093</link>
    <description>&lt;P&gt;Hello,
in nuxeo, my group come from my ldap.
They are ok , but I don't know how to get the description of my ldap group;
I have the "groupname" ok but not "description" (&lt;IDFIELD&gt;description&lt;/IDFIELD&gt;)
my file default-ldap-users-directory-config.xml :&lt;/P&gt;
 &lt;COMPONENT name="ecm.ldap.config"&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&lt;/REQUIRE&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.sql.storage&lt;/REQUIRE&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.multi.MultiDirectoryFactory" point="directories"&gt;
    &lt;DIRECTORY name="userDirectory"&gt;
 
      &lt;!-- definition des sources de donnees pour les utilisateurs --&gt;
      &lt;!-- schema utilise --&gt;
      &lt;SCHEMA&gt;user&lt;/SCHEMA&gt;
 
      &lt;!-- attributs correspondant (dans le schema nuxeo) à l'identifiant et au mot de passe --&gt;
      &lt;IDFIELD&gt;username&lt;/IDFIELD&gt;
      &lt;READONLY&gt;false&lt;/READONLY&gt;
      &lt;PASSWORDFIELD&gt;password&lt;/PASSWORDFIELD&gt;
 
      &lt;!-- déclaration de la source ldap, definie plus bas --&gt;
      &lt;SOURCE name="ldapUserDirectory"&gt;
        &lt;SUBDIRECTORY name="ldapUserDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
 
      &lt;!-- declaration de la source locale que nous allons definir dans un autre point d'extension --&gt;
      &lt;SOURCE name="sqlUserDirectory" creation="true"&gt;
        &lt;SUBDIRECTORY name="sqlUserDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.multi.MultiDirectoryFactory" point="directories"&gt;
    &lt;DIRECTORY name="groupDirectory"&gt;
      &lt;!-- definition des sources de donnees pour les groupes --&gt;
 
      &lt;!-- schema utilise --&gt;
      &lt;SCHEMA&gt;group&lt;/SCHEMA&gt;
 
       &lt;!-- attribut correspondant à l'identifiant du groupe (dans schema nuxeo) --&gt;
      &lt;IDFIELD&gt;groupname&lt;/IDFIELD&gt;
	  &lt;IDFIELD&gt;description&lt;/IDFIELD&gt;
      &lt;READONLY&gt;false&lt;/READONLY&gt;
 
      &lt;!-- declaration de la source ldap pour les groupes, definie plus bas --&gt;
      &lt;SOURCE name="ldapGroupDirectory"&gt;
 
        &lt;SUBDIRECTORY name="ldapGroupDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
 
      &lt;!-- declaration de la source locale definie dans un autre fichier --&gt;
      &lt;SOURCE name="sqlGroupDirectory" creation="true"&gt;
        &lt;SUBDIRECTORY name="sqlGroupDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="servers"&gt;
 
     &lt;!-- definition de la connexion ldap au serveur ldap--&gt;
    &lt;SERVER name="default"&gt;
      &lt;LDAPURL&gt;***&lt;/LDAPURL&gt;
      &lt;BINDDN&gt;&lt;/BINDDN&gt;
      &lt;BINDPASSWORD&gt;&lt;/BINDPASSWORD&gt;
    &lt;/SERVER&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;
 
    &lt;!--definition de l'annuaire comme source de donnees utilisateur --&gt;
    &lt;DIRECTORY name="ldapUserDirectory"&gt;
 
      &lt;!-- utilise la connexion qu'on vient de définir juste avant --&gt;
      &lt;SERVER&gt;default&lt;/SERVER&gt;
      &lt;SCHEMA&gt;user&lt;/SCHEMA&gt;
      &lt;IDFIELD&gt;username&lt;/IDFIELD&gt;
      &lt;PASSWORDFIELD&gt;password&lt;/PASSWORDFIELD&gt;
      &lt;SEARCHBASEDN&gt;ou=people,dc=isae,dc=fr&lt;/SEARCHBASEDN&gt;
      
       &lt;SEARCHFILTER&gt;(&amp;amp;(objectClass=supannPerson)(eduPersonPrimaryAffiliation=employee))&lt;/SEARCHFILTER&gt;
      &lt;SEARCHSCOPE&gt;onelevel&lt;/SEARCHSCOPE&gt;
      &lt;READONLY&gt;true&lt;/READONLY&gt;
      &lt;CACHETIMEOUT&gt;3600&lt;/CACHETIMEOUT&gt;
      &lt;CACHEMAXSIZE&gt;1000&lt;/CACHEMAXSIZE&gt;
      &lt;QUERYSIZELIMIT&gt;0&lt;/QUERYSIZELIMIT&gt;
      &lt;CREATIONBASEDN&gt;ou=people,dc=isae,dc=fr&lt;/CREATIONBASEDN&gt;
      &lt;CREATIONCLASS&gt;top&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;supannPerson&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;eduPerson&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;inetOrgPerson&lt;/CREATIONCLASS&gt;
      &lt;RDNATTRIBUTE&gt;uid&lt;/RDNATTRIBUTE&gt;
 
      &lt;!-- mapping d'attributs, doit être en cohérence avec ce qui est stipulé dans le fichier esup-login-config.xml
           Dans notre exemple, on utilisait l'uid pour notre idp local, on fait donc un mapping avec l'uid) --&gt;
      &lt;FIELDMAPPING name="username"&gt;uid&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="firstName"&gt;givenName&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="lastName"&gt;sn&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="company"&gt;cn&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="email"&gt;mail&lt;/FIELDMAPPING&gt;
      &lt;REFERENCES&gt;
        &lt;INVERSEREFERENCE field="groups" directory="groupDirectory" dualreferencefield="members"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;
 
    &lt;!-- on definit maintenant l'annuaire comme source de donnees --&gt;
    &lt;DIRECTORY name="ldapGroupDirectory"&gt;
    
     &lt;!-- connexion utilisee --&gt;
      &lt;SERVER&gt;default&lt;/SERVER&gt;
 
      &lt;!-- schema utilise --&gt;
      &lt;SCHEMA&gt;group&lt;/SCHEMA&gt;
 
     &lt;!--attribut correspondant à l'identifiant (dans schema nuxeo) --&gt;
      &lt;IDFIELD&gt;groupname&lt;/IDFIELD&gt;
	  &lt;IDFIELD&gt;description&lt;/IDFIELD&gt;
      &lt;SEARCHBASEDN&gt;ou=Group,dc=isae,dc=fr&lt;/SEARCHBASEDN&gt;
      &lt;SEARCHFILTER&gt;(&amp;amp;(objectclass=posixGroup)(|(cn=si)(cn=doc)(cn=qse)))&lt;/SEARCHFILTER&gt;
      &lt;SEARCHSCOPE&gt;subtree&lt;/SEARCHSCOPE&gt;
      &lt;CACHETIMEOUT&gt;3600&lt;/CACHETIMEOUT&gt;
      &lt;CACHEMAXSIZE&gt;1000&lt;/CACHEMAXSIZE&gt;
      &lt;QUERYSIZELIMIT&gt;10000&lt;/QUERYSIZELIMIT&gt;
      &lt;CREATIONBASEDN&gt;ou=Group,dc=isae,dc=fr&lt;/CREATIONBASEDN&gt;
      &lt;CREATIONCLASS&gt;top&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;groupOfUniqueNames&lt;/CREATIONCLASS&gt;
      &lt;RDNATTRIBUTE&gt;cn&lt;/RDNATTRIBUTE&gt;
 
      &lt;!-- Mapping entre attributs du schema nuxeo et attributs de l'annuaire --&gt;
      &lt;FIELDMAPPING name="groupname"&gt;cn&lt;/FIELDMAPPING&gt;
	  &lt;FIELDMAPPING name="description"&gt;description&lt;/FIELDMAPPING&gt;
      &lt;REFERENCES&gt;
        &lt;LDAPREFERENCE field="members" directory="ldapUserDirectory" forcednconsistencycheck="false" staticattributeid="uniqueMember" dynamicattributeid="memberURL"&gt;&lt;/LDAPREFERENCE&gt;
        &lt;LDAPREFERENCE field="subGroups" directory="ldapGroupDirectory" forcednconsistencycheck="false" staticattributeid="uniqueMember" dynamicattributeid="memberURL"&gt;&lt;/LDAPREFERENCE&gt;
        &lt;INVERSEREFERENCE field="parentGroups" directory="groupDirectory" dualreferencefield="subGroups"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
&lt;/COMPONENT&gt;
&lt;P&gt;Have you any idea of my problem ?&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2013 09:57:29 GMT</pubDate>
    <dc:creator>vjoussot_</dc:creator>
    <dc:date>2013-06-12T09:57:29Z</dc:date>
    <item>
      <title>Ldap description group</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-description-group/m-p/328092#M15093</link>
      <description>&lt;P&gt;Hello,
in nuxeo, my group come from my ldap.
They are ok , but I don't know how to get the description of my ldap group;
I have the "groupname" ok but not "description" (&lt;IDFIELD&gt;description&lt;/IDFIELD&gt;)
my file default-ldap-users-directory-config.xml :&lt;/P&gt;
 &lt;COMPONENT name="ecm.ldap.config"&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory&lt;/REQUIRE&gt;
  &lt;REQUIRE&gt;org.nuxeo.ecm.directory.sql.storage&lt;/REQUIRE&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.multi.MultiDirectoryFactory" point="directories"&gt;
    &lt;DIRECTORY name="userDirectory"&gt;
 
      &lt;!-- definition des sources de donnees pour les utilisateurs --&gt;
      &lt;!-- schema utilise --&gt;
      &lt;SCHEMA&gt;user&lt;/SCHEMA&gt;
 
      &lt;!-- attributs correspondant (dans le schema nuxeo) à l'identifiant et au mot de passe --&gt;
      &lt;IDFIELD&gt;username&lt;/IDFIELD&gt;
      &lt;READONLY&gt;false&lt;/READONLY&gt;
      &lt;PASSWORDFIELD&gt;password&lt;/PASSWORDFIELD&gt;
 
      &lt;!-- déclaration de la source ldap, definie plus bas --&gt;
      &lt;SOURCE name="ldapUserDirectory"&gt;
        &lt;SUBDIRECTORY name="ldapUserDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
 
      &lt;!-- declaration de la source locale que nous allons definir dans un autre point d'extension --&gt;
      &lt;SOURCE name="sqlUserDirectory" creation="true"&gt;
        &lt;SUBDIRECTORY name="sqlUserDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.multi.MultiDirectoryFactory" point="directories"&gt;
    &lt;DIRECTORY name="groupDirectory"&gt;
      &lt;!-- definition des sources de donnees pour les groupes --&gt;
 
      &lt;!-- schema utilise --&gt;
      &lt;SCHEMA&gt;group&lt;/SCHEMA&gt;
 
       &lt;!-- attribut correspondant à l'identifiant du groupe (dans schema nuxeo) --&gt;
      &lt;IDFIELD&gt;groupname&lt;/IDFIELD&gt;
	  &lt;IDFIELD&gt;description&lt;/IDFIELD&gt;
      &lt;READONLY&gt;false&lt;/READONLY&gt;
 
      &lt;!-- declaration de la source ldap pour les groupes, definie plus bas --&gt;
      &lt;SOURCE name="ldapGroupDirectory"&gt;
 
        &lt;SUBDIRECTORY name="ldapGroupDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
 
      &lt;!-- declaration de la source locale definie dans un autre fichier --&gt;
      &lt;SOURCE name="sqlGroupDirectory" creation="true"&gt;
        &lt;SUBDIRECTORY name="sqlGroupDirectory"&gt;&lt;/SUBDIRECTORY&gt;
      &lt;/SOURCE&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="servers"&gt;
 
     &lt;!-- definition de la connexion ldap au serveur ldap--&gt;
    &lt;SERVER name="default"&gt;
      &lt;LDAPURL&gt;***&lt;/LDAPURL&gt;
      &lt;BINDDN&gt;&lt;/BINDDN&gt;
      &lt;BINDPASSWORD&gt;&lt;/BINDPASSWORD&gt;
    &lt;/SERVER&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;
 
    &lt;!--definition de l'annuaire comme source de donnees utilisateur --&gt;
    &lt;DIRECTORY name="ldapUserDirectory"&gt;
 
      &lt;!-- utilise la connexion qu'on vient de définir juste avant --&gt;
      &lt;SERVER&gt;default&lt;/SERVER&gt;
      &lt;SCHEMA&gt;user&lt;/SCHEMA&gt;
      &lt;IDFIELD&gt;username&lt;/IDFIELD&gt;
      &lt;PASSWORDFIELD&gt;password&lt;/PASSWORDFIELD&gt;
      &lt;SEARCHBASEDN&gt;ou=people,dc=isae,dc=fr&lt;/SEARCHBASEDN&gt;
      
       &lt;SEARCHFILTER&gt;(&amp;amp;(objectClass=supannPerson)(eduPersonPrimaryAffiliation=employee))&lt;/SEARCHFILTER&gt;
      &lt;SEARCHSCOPE&gt;onelevel&lt;/SEARCHSCOPE&gt;
      &lt;READONLY&gt;true&lt;/READONLY&gt;
      &lt;CACHETIMEOUT&gt;3600&lt;/CACHETIMEOUT&gt;
      &lt;CACHEMAXSIZE&gt;1000&lt;/CACHEMAXSIZE&gt;
      &lt;QUERYSIZELIMIT&gt;0&lt;/QUERYSIZELIMIT&gt;
      &lt;CREATIONBASEDN&gt;ou=people,dc=isae,dc=fr&lt;/CREATIONBASEDN&gt;
      &lt;CREATIONCLASS&gt;top&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;supannPerson&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;eduPerson&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;inetOrgPerson&lt;/CREATIONCLASS&gt;
      &lt;RDNATTRIBUTE&gt;uid&lt;/RDNATTRIBUTE&gt;
 
      &lt;!-- mapping d'attributs, doit être en cohérence avec ce qui est stipulé dans le fichier esup-login-config.xml
           Dans notre exemple, on utilisait l'uid pour notre idp local, on fait donc un mapping avec l'uid) --&gt;
      &lt;FIELDMAPPING name="username"&gt;uid&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="firstName"&gt;givenName&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="lastName"&gt;sn&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="company"&gt;cn&lt;/FIELDMAPPING&gt;
      &lt;FIELDMAPPING name="email"&gt;mail&lt;/FIELDMAPPING&gt;
      &lt;REFERENCES&gt;
        &lt;INVERSEREFERENCE field="groups" directory="groupDirectory" dualreferencefield="members"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
  &lt;EXTENSION target="org.nuxeo.ecm.directory.ldap.LDAPDirectoryFactory" point="directories"&gt;
 
    &lt;!-- on definit maintenant l'annuaire comme source de donnees --&gt;
    &lt;DIRECTORY name="ldapGroupDirectory"&gt;
    
     &lt;!-- connexion utilisee --&gt;
      &lt;SERVER&gt;default&lt;/SERVER&gt;
 
      &lt;!-- schema utilise --&gt;
      &lt;SCHEMA&gt;group&lt;/SCHEMA&gt;
 
     &lt;!--attribut correspondant à l'identifiant (dans schema nuxeo) --&gt;
      &lt;IDFIELD&gt;groupname&lt;/IDFIELD&gt;
	  &lt;IDFIELD&gt;description&lt;/IDFIELD&gt;
      &lt;SEARCHBASEDN&gt;ou=Group,dc=isae,dc=fr&lt;/SEARCHBASEDN&gt;
      &lt;SEARCHFILTER&gt;(&amp;amp;(objectclass=posixGroup)(|(cn=si)(cn=doc)(cn=qse)))&lt;/SEARCHFILTER&gt;
      &lt;SEARCHSCOPE&gt;subtree&lt;/SEARCHSCOPE&gt;
      &lt;CACHETIMEOUT&gt;3600&lt;/CACHETIMEOUT&gt;
      &lt;CACHEMAXSIZE&gt;1000&lt;/CACHEMAXSIZE&gt;
      &lt;QUERYSIZELIMIT&gt;10000&lt;/QUERYSIZELIMIT&gt;
      &lt;CREATIONBASEDN&gt;ou=Group,dc=isae,dc=fr&lt;/CREATIONBASEDN&gt;
      &lt;CREATIONCLASS&gt;top&lt;/CREATIONCLASS&gt;
      &lt;CREATIONCLASS&gt;groupOfUniqueNames&lt;/CREATIONCLASS&gt;
      &lt;RDNATTRIBUTE&gt;cn&lt;/RDNATTRIBUTE&gt;
 
      &lt;!-- Mapping entre attributs du schema nuxeo et attributs de l'annuaire --&gt;
      &lt;FIELDMAPPING name="groupname"&gt;cn&lt;/FIELDMAPPING&gt;
	  &lt;FIELDMAPPING name="description"&gt;description&lt;/FIELDMAPPING&gt;
      &lt;REFERENCES&gt;
        &lt;LDAPREFERENCE field="members" directory="ldapUserDirectory" forcednconsistencycheck="false" staticattributeid="uniqueMember" dynamicattributeid="memberURL"&gt;&lt;/LDAPREFERENCE&gt;
        &lt;LDAPREFERENCE field="subGroups" directory="ldapGroupDirectory" forcednconsistencycheck="false" staticattributeid="uniqueMember" dynamicattributeid="memberURL"&gt;&lt;/LDAPREFERENCE&gt;
        &lt;INVERSEREFERENCE field="parentGroups" directory="groupDirectory" dualreferencefield="subGroups"&gt;&lt;/INVERSEREFERENCE&gt;
      &lt;/REFERENCES&gt;
    &lt;/DIRECTORY&gt;
  &lt;/EXTENSION&gt;
 
&lt;/COMPONENT&gt;
&lt;P&gt;Have you any idea of my problem ?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2013 09:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ldap-description-group/m-p/328092#M15093</guid>
      <dc:creator>vjoussot_</dc:creator>
      <dc:date>2013-06-12T09:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ldap description group</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ldap-description-group/m-p/328093#M15094</link>
      <description>&lt;P&gt;I have the solution :
&lt;FIELDMAPPING name="grouplabel"&gt;description&lt;/FIELDMAPPING&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2013 10:21:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ldap-description-group/m-p/328093#M15094</guid>
      <dc:creator>vjoussot_</dc:creator>
      <dc:date>2013-06-12T10:21:04Z</dc:date>
    </item>
  </channel>
</rss>

