Skip to Content.
Sympa Menu

grouper-users - [ldappc] Configuration problem (with body this time)

Subject: Grouper Users - Open Discussion List

List archive

[ldappc] Configuration problem (with body this time)

Chronological Thread 
  • From:
  • To:
  • Subject: [ldappc] Configuration problem (with body this time)
  • Date: Thu, 19 Jun 2008 03:22:17 -0400 (EDT)

Dear all,

I am having difficulty getting both the members for the groups and the
memberships of the people exported. I succeeded in getting everything working
by using 'lastname' as the subject-attribute for source-subject-name-map and
source-subject-identifier, and then using a filter of (sn={0)} as my LDAP
search filter.

However, when I try to use the Grouper ID and the LDAP attribute uid in a
corresponding manner, only the memberships for the people are exported to the
isMemberOf attribute, but the hasMember and member attributes of the groups
remain empty.

Here is my ldappc.xml:

<?xml version="1.0" encoding="utf-8"?>

* This file contains data for testing Ldappc.
* See ldappcTemplate.xml for documentation regarding how to use these
* elements.

<attribute name="attribute" value="value" />
<groups structure="flat"
ldap-rdn-attribute="cn" grouper-attribute="name" >
<group-members-dn-list list-object-class="groupOfNames"
list-attribute="member" list-empty-value=""/>
<group-members-name-list list-object-class="eduMember"
list-attribute="hasMember" >
<source-subject-name-map source="fu" subject-attribute="ID" />

<group-attribute-mapping ldap-object-class="groupOfNames">
<group-attribute-map group-attribute="description"
ldap-attribute="description" />

naming-attribute="name" />

<source-subject-identifier source="fu" subject-attribute="id" >
<ldap-search base="ou=personen,dc=fu-berlin,dc=de"
filter="(uid={0})" />

<parameter name="initial_context_factory"
value="com.sun.jndi.ldap.LdapCtxFactory" />
<parameter name="provider_url" value="ldap://localhost:389"; />
<parameter name="security_authentication" value="simple" />
<parameter name="security_principal"
value="cn=xxxx,dc=fu-berlin,dc=de" />
<parameter name="security_credentials" value="xxxx" />


I am also suprised that the subject-attribute has to be 'id' and not 'ID' as
it is displayed by grouper, although on the other hand it is lowercase in my

Any help would be greatly appreciated.

Loris Bennett

Archive powered by MHonArc 2.6.16.

Top of Page