Skip to Content.
Sympa Menu

grouper-users - [grouper-users] LDAPPC——value of naming attribute 'ou' is not present in entry

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] LDAPPC——value of naming attribute 'ou' is not present in entry


Chronological Thread 
  • From: lucy <>
  • To:
  • Subject: [grouper-users] LDAPPC——value of naming attribute 'ou' is not present in entry
  • Date: Mon, 18 Oct 2010 05:39:12 -0400 (EDT)

LDAPPC——value of naming attribute 'ou' is not present in entry

Hi All,

I have pose before asking question about LDAPPC, the problem i got before is
noSuchIdentifier error,which you can reach the detail in my mail before. And
now the problem has solved, and i got this problem because the member data is
not in my ldap.
But now i get another problem, when i type bin/gsh -ldappcng -bulkCalc, the
result seem to be right, but when i tpye bin/gsh -ldappcng -bulkSync, it get
the below problems, "value of naming attribute 'ou' is not present in entry"
and value of naming attribute 'cn' is not present in entry". i attach some
setting here.


the ldappcng.xml
<object id="stem">
<identifier ref="stem-dn" baseId="${groupsOU}">
<identifyingAttribute name="objectClass" value="organizationalUnit" />
</identifier>
<attribute name="objectClass" ref="stem-objectclass" />
<attribute name="ou" ref="stem-ou" />
<attribute name="description" ref="stem-description" />
</object>

<object id="group" authoritative="true">
<identifier ref="group-dn" baseId="${groupsOU}">
<identifyingAttribute name="objectClass" value="${groupObjectClass}"
/>
</identifier>
<attribute name="objectClass" ref="group-objectclass-eduMember" />
<attribute name="cn" />
<attribute name="description" />
<!-- <attribute name="hasMember" ref="hasMember" /> -->
<attribute name="isMemberOf" ref="groupIsMemberOf" />
<references name="member" emptyValue="" >
<reference ref="members-jdbc" toObject="member" />
<reference ref="members-g:gsa" toObject="group" />
</references>
</object>


ldappc-resolver.xml

<resolver:AttributeDefinition id="stem-ou" xsi:type="ad:Simple"
sourceAttributeID="extension">
<resolver:Dependency ref="StemDataConnector" />
</resolver:AttributeDefinition>

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


and after a few tests, i find that if i change the sourceAttributeID to be
"name" but not "extension", the command can run, but the record in LDAP
getting the incorrect value. for example, the "cn" attribute in group object
get "folderA:groupA" instead of "groupA", and the ou attribute in stem object
get "folderA:folderB" instead of "folderB", which will cause the under level
stem can't find the correct parent stem object. can anyone help my whit that?

by the way, i'm using LDAPPCNG 1.6.1 and OpenLDAP.
thanks


Archive powered by MHonArc 2.6.16.

Top of Page