Bonjour,
Je cherche à mapper mes groupes LDAP dans JAHIA.
Pour l'instant, je vois tous les utilisateurs LDAP dans JAHIA, mais
aucun groupe.
Concrètement, mes groupes LDAP sont matérialisés par des OUs dans mon
arbre LDAP.
exemple :
dc=monsite,dc=fr
-->OU=GROUPE1
----------->OU=SOUSGROUPE1-DE-GROUPE1
-------------------> OU=SOUSGROUPE1-DE-SOUS-GROUPE1-DE-GROUPE1
------------>OU=SOUSGROUPE2-DE-GROUPE1
--->OU=GROUPE2
--->OU=GROUPE3
CE que j'ai déjà fait :
--> Pour la partie users LDAP : j'ai modifié users.ldap.properties,
applicationcontext-services.xml , router-config.xml , OK je pense
puisque je vois les utilisateurs LDAP dans JAHIA.
--> Pour la partie Groupe LDAP : j'ai modifié
--> group-router-config.xml ( j'ai simplement décommenté la
partie LDAP groupe)
--> groups.ldap.properties , je pense que le plus important
que j'ai modifié c'est groups.ldap.search.attribute = OU ( il y avait CN
avant)
# Configuration file for standard ldap server
groups.ldap.context.factory = com.sun.jndi.ldap.LdapCtxFactory
groups.ldap.url = ldap://MONLDAP:389/
groups.ldap.authentification.mode = simple
groups.ldap.public.bind.dn = CN=BIND-USER,DC=monsite,DC=fr
# if you need to login to do public browsing of the directory, uncomment
the following line and enter the password.
groups.ldap.public.bind.password = password
# attribute holding the group name
groups.ldap.search.attribute = OU
# base dn search
groups.ldap.search.name = dc=monsite,dc=fr
groups.ldap.search.countlimit = 100
# objectclasses and member attributes
groups.ldap.search.objectclass = groupOfUniqueNames
groups.ldap.members.attribute = uniqueMember
groups.ldap.dynamic.search.objectclass = groupOfURLs
groups.ldap.dynamic.members.attribute = memberurl
# if set to false, group members will not be preloaded and members will
not appear in engines
groups.ldap.preload = true
# the following defines the attributes to use for wildcard search such
as *=*test*
groups.ldap.search.wildcards.attributes = cn,description,uniqueMember
# Map attribute, that indicate which LDAP attribute to map to Jahia
standard properties
# Make sure you comment out the ones you are not using, especially if
the LDAP
# repository contains same names attributes. If you don't searching
goups will
# most probably not work correctly.
groups.ldap.groupname.attribute.map = cn
groups.ldap.description.attribute.map = description
Merci pour votre aide,
--
----------------------------------------------------
Christophe Dumonet
Centre de Ressources Informatiques
Institut Francais de Mecanique Avancee (IFMA)
Campus des Cezeaux
BP 265
63175 AUBIERE Cedex
Tel : +33 - 4.73.28.80.64
Fax : +33 - 4.73.28.81.00
Mail : [EMAIL PROTECTED]
----------------------------------------------------