Skip to Content.
Sympa Menu

grouper-users - [grouper-users] ldappcng : modify the format attribute

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] ldappcng : modify the format attribute


Chronological Thread 
  • From: Wallaert-Taquet Brigitte <>
  • To:
  • Subject: [grouper-users] ldappcng : modify the format attribute
  • Date: Tue, 12 Jul 2011 19:12:55 +0200

Hello,

I want to obtain this with my ldappcng but I don't find how :

my attributes are a simple attribute "ustlPresident" or "owner" for example or is the default list members and also a custom list "supannGroupeAdminDN". I would like that ldappcng do that :
For example : in Grouper, members = jayet, verdier
in ldap : member = uid=jayet,ou=people,dc=univ-lille1,dc=fr
uid=verdier,ou=people,dc=univ-lille1,dc=fr

At the moment, I obtain this :
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='members'>
<dsml:value>'jayet'/'person'/'lille1:ldap'</dsml:value>
<dsml:value>'verdier'/'person'/'lille1:ldap'</dsml:value>
</dsml:attr>

Here is part of my ldappc-resolver.xml and ldappcng.xml :
------ ldappcng.xml ------------
<object id="group" authoritative="false">
<identifier ref="group-dn" baseId="${groupsOU}">
<identifyingAttribute name="objectClass" value="${groupObjectClass}" />
</identifier>
<attribute name="objectClass" />
<attribute name="cn" />
<attribute name="description" />
<attribute name="owner" />
<attribute name="ustlPresident" />
<attribute name="supannGroupeDateFin" />
<attribute name="members" ref="member" />
<attribute name="supannGroupeAdminDN" ref="admin" />
</object>

----------- ldappc-resolver.xml --------------------
<resolver:AttributeDefinition id="owner" xsi:type="ad:Simple" sourceAttributeID="owner">
<resolver:Dependency ref="GroupDataConnector" />
</resolver:AttributeDefinition>

<resolver:AttributeDefinition id="ustlPresident" xsi:type="ad:Simple" sourceAttributeID="ustlPresident">
<resolver:Dependency ref="GroupDataConnector" />
</resolver:AttributeDefinition>

<resolver:AttributeDefinition id="member" xsi:type="ad:Simple" sourceAttributeID="members:immediate">
<resolver:Dependency ref="GroupDataConnector" />
</resolver:AttributeDefinition>

<resolver:AttributeDefinition id="admin" xsi:type="ad:Simple" sourceAttributeID="members:immediate:supannGroupeAdminDN">
<resolver:Dependency ref="GroupDataConnector" />
</resolver:AttributeDefinition>

Anyone could help me ?
Thank you.

Nota : Excuse-me for my poor english...

Cordialement

--
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies







Archive powered by MHonArc 2.6.16.

Top of Page