You should take a closer look at the comments in the properties file, Pablo :)

# if set to false, group members will not be preloaded and members will not appear in engines
groups.ldap.preload                       = false

hope this helps

pascal





----- Original Message ----- From: "paolo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, September 14, 2005 5:33 PM
Subject: LDAP group and member


Hi, i've configured an LDAP connection with my LDAP server. For the users it all ok (login and authentication), but i have some problem with the groups. I
see the groups with LDAP (fron jahia administrator window) but they are
empty... And if i use the group for autentication and menage object, it not
work.

The file groups.ldap.properties is
# Configuration file for standard ldap server
groups.ldap.context.factory = com.sun.jndi.ldap.LdapCtxFactory
groups.ldap.url                           = ldap://ldapserver:389/
groups.ldap.authentification.mode         = simple
groups.ldap.public.bind.dn                = serv100

# 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              = cn
# base dn search
groups.ldap.search.name                   = O=azienda,C=IT
groups.ldap.search.countlimit         = 50

# objectclasses and member attributes
groups.ldap.search.objectclass            = groupOfNames
groups.ldap.members.attribute           = member
groups.ldap.dynamic.search.objectclass    = groupOfNames
groups.ldap.dynamic.members.attribute   = member

# if set to false, group members will not be preloaded and members will not
appear in engines
groups.ldap.preload                       = false

# the following defines the attributes to use for wildcard search such as
*=*test*
groups.ldap.search.wildcards.attributes   = cn


# 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

Many thanks....
paolo


Reply via email to