grouper-users - Re: Re: [grouper-users] LDAPPC——hasMemb er: attribute type undefined
Subject: Grouper Users - Open Discussion List
List archive
- From: lucy <>
- To: ,
- Subject: Re: Re: [grouper-users] LDAPPC——hasMemb er: attribute type undefined
- Date: Mon, 18 Oct 2010 23:36:44 -0400 (EDT)
Hi,All
I have solved this problem by changing some setting in the
ldappc-resolver.xml.
<resolver:AttributeDefinition id="stem-dn"
xsi:type="ldappc:LdapDnPSOIdentifier"
structure="${DNstructure}" sourceAttributeID="extension"
rdnAttributeName="ou" base="${groupsOU}">
<resolver:Dependency ref="StemDataConnector" />
</resolver:AttributeDefinition>
<resolver:AttributeDefinition id="group-dn"
xsi:type="ldappc:LdapDnPSOIdentifier"
structure="${DNstructure}" sourceAttributeID="extension"
rdnAttributeName="cn" base="${groupsOU}">
<resolver:Dependency ref="GroupDataConnector" />
</resolver:AttributeDefinition>
i change the sourceAttributeID from "name" to "extension", and it can finally
get right path,thanks.
But now i get another problem, when i type bin/gsh.sh -ldappcng -bulkCalc ,
everything seem to right. the out print xml
are as below:
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:19.968_QPQHV
4H0'>
<ldappc:id ID='edu'/>
<ldappc:pso entityName='stem'>
<psoID ID='ou=edu,ou=groups,dc=informationDepartment,dc=wti.ac.cn'
targetI
D='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>organizationalUnit</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='ou'>
<dsml:value>edu</dsml:value>
</dsml:attr>
</data>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.093_QPQHV
4H3'>
<ldappc:id ID='edu:folder1'/>
<ldappc:pso entityName='stem'>
<psoID
ID='ou=folder1,ou=edu,ou=groups,dc=informationDepartment,dc=wti.ac.
cn' targetID='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>organizationalUnit</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='ou'>
<dsml:value>folder1</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='descripti
on'>
<dsml:value>folder1</dsml:value>
</dsml:attr>
</data>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.109_QPQHV
4H5'>
<ldappc:id ID='etc'/>
<ldappc:pso entityName='stem'>
<psoID ID='ou=etc,ou=groups,dc=informationDepartment,dc=wti.ac.cn'
targetI
D='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>organizationalUnit</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='ou'>
<dsml:value>etc</dsml:value>
</dsml:attr>
</data>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.140_QPQHV
4H7'>
<ldappc:id ID='edu:folder1:group1'/>
<ldappc:pso entityName='group'>
<psoID
ID='cn=group1,ou=folder1,ou=edu,ou=groups,dc=informationDepartment,
dc=wti.ac.cn' targetID='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>groupOfNames</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='cn'>
<dsml:value>group1</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='descripti
on'>
<dsml:value>group1</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='hasMember
'>
<dsml:value>74</dsml:value>
</dsml:attr>
</data>
<capabilityData mustUnderstand='true'
capabilityURI='urn:oasis:names:tc:SP
ML:2:0:reference'>
<spmlref:reference xmlns='urn:oasis:names:tc:SPML:2:0'
xmlns:spmlref='ur
n:oasis:names:tc:SPML:2:0:reference' typeOfReference='member'>
<spmlref:toPsoID
ID='cn=74,ou=people,dc=informationDepartment,dc=wti.a
c.cn' targetID='ldap'/>
</spmlref:reference>
</capabilityData>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.328_QPQHV
4IF'>
<ldappc:id ID='edu:groupA'/>
<ldappc:pso entityName='group'>
<psoID
ID='cn=groupA,ou=edu,ou=groups,dc=informationDepartment,dc=wti.ac.c
n' targetID='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>groupOfNames</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='cn'>
<dsml:value>groupA</dsml:value>
</dsml:attr>
</data>
<capabilityData mustUnderstand='true'
capabilityURI='urn:oasis:names:tc:SP
ML:2:0:reference'>
<spmlref:reference xmlns='urn:oasis:names:tc:SPML:2:0'
xmlns:spmlref='ur
n:oasis:names:tc:SPML:2:0:reference' typeOfReference='member'>
<spmlref:toPsoID targetID='ldap'/>
</spmlref:reference>
</capabilityData>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.359_QPQHV
4IH'>
<ldappc:id ID='edu:groupB'/>
<ldappc:pso entityName='group'>
<psoID
ID='cn=groupB,ou=edu,ou=groups,dc=informationDepartment,dc=wti.ac.c
n' targetID='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>groupOfNames</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='cn'>
<dsml:value>groupB</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='descripti
on'>
<dsml:value>descriptionB</dsml:value>
</dsml:attr>
</data>
<capabilityData mustUnderstand='true'
capabilityURI='urn:oasis:names:tc:SP
ML:2:0:reference'>
<spmlref:reference xmlns='urn:oasis:names:tc:SPML:2:0'
xmlns:spmlref='ur
n:oasis:names:tc:SPML:2:0:reference' typeOfReference='member'>
<spmlref:toPsoID targetID='ldap'/>
</spmlref:reference>
</capabilityData>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.375_QPQHV
4IJ'>
<ldappc:id ID='etc:wheel'/>
<ldappc:pso entityName='group'>
<psoID
ID='cn=wheel,ou=etc,ou=groups,dc=informationDepartment,dc=wti.ac.cn
' targetID='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
<dsml:value>groupOfNames</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='cn'>
<dsml:value>wheel</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='descripti
on'>
<dsml:value>system administrators with all privileges</dsml:value>
</dsml:attr>
</data>
<capabilityData mustUnderstand='true'
capabilityURI='urn:oasis:names:tc:SP
ML:2:0:reference'>
<spmlref:reference xmlns='urn:oasis:names:tc:SPML:2:0'
xmlns:spmlref='ur
n:oasis:names:tc:SPML:2:0:reference' typeOfReference='member'>
<spmlref:toPsoID targetID='ldap'/>
</spmlref:reference>
</capabilityData>
</ldappc:pso>
</ldappc:calcResponse>
<ldappc:calcResponse status='success'
requestID='2010/10/19-11:23:20.390_QPQHV
4IL'>
<ldappc:id ID='74'/>
<ldappc:pso entityName='member'>
<psoID ID='cn=74,ou=people,dc=informationDepartment,dc=wti.ac.cn'
targetID
='ldap'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='objectCla
ss'>
<dsml:value>top</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='isMemberO
f'>
<dsml:value>edu:folder1:group1</dsml:value>
</dsml:attr>
</data>
</ldappc:pso>
</ldappc:calcResponse>
</ldappc:bulkCalcResponse>
but when i type bin/gsh.sh -ldappcng -bulkSync, it get some wrong imformation
<ldappc:bulkSyncResponse xmlns:ldappc='http://grouper.internet2.edu/ldappc'
stat
us='failure' requestID='2010/10/19-11:26:41.359_QPQH0FK5'>
<ldappc:syncResponse>
<ldappc:synchronizedResponse
xmlns:ldappc='http://grouper.internet2.edu/ldap
pc'>
<ldappc:psoID
ID='ou=edu,ou=groups,dc=informationDepartment,dc=wti.ac.cn'
targetID='ldap'/>
</ldappc:synchronizedResponse>
<ldappc:id ID='edu'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<ldappc:synchronizedResponse
xmlns:ldappc='http://grouper.internet2.edu/ldap
pc'>
<ldappc:psoID
ID='ou=folder1,ou=edu,ou=groups,dc=informationDepartment,dc=
wti.ac.cn' targetID='ldap'/>
</ldappc:synchronizedResponse>
<ldappc:id ID='edu:folder1'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<ldappc:synchronizedResponse
xmlns:ldappc='http://grouper.internet2.edu/ldap
pc'>
<ldappc:psoID
ID='ou=etc,ou=groups,dc=informationDepartment,dc=wti.ac.cn'
targetID='ldap'/>
</ldappc:synchronizedResponse>
<ldappc:id ID='etc'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<modifyResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='failure'
request
ID='2010/10/19-11:26:41.906_QPQH0FL0' error='customError'>
<errorMessage>[LDAP: error code 17 - hasMember: attribute type
undefined]<
/errorMessage>
</modifyResponse>
<ldappc:id ID='edu:folder1:group1'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<ldappc:synchronizedResponse
xmlns:ldappc='http://grouper.internet2.edu/ldap
pc'>
<ldappc:psoID
ID='cn=groupA,ou=edu,ou=groups,dc=informationDepartment,dc=w
ti.ac.cn' targetID='ldap'/>
</ldappc:synchronizedResponse>
<ldappc:id ID='edu:groupA'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<ldappc:synchronizedResponse
xmlns:ldappc='http://grouper.internet2.edu/ldap
pc'>
<ldappc:psoID
ID='cn=groupB,ou=edu,ou=groups,dc=informationDepartment,dc=w
ti.ac.cn' targetID='ldap'/>
</ldappc:synchronizedResponse>
<ldappc:id ID='edu:groupB'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<ldappc:synchronizedResponse
xmlns:ldappc='http://grouper.internet2.edu/ldap
pc'>
<ldappc:psoID
ID='cn=wheel,ou=etc,ou=groups,dc=informationDepartment,dc=wt
i.ac.cn' targetID='ldap'/>
</ldappc:synchronizedResponse>
<ldappc:id ID='etc:wheel'/>
</ldappc:syncResponse>
<ldappc:syncResponse>
<modifyResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='failure'
request
ID='2010/10/19-11:26:42.062_QPQH0FMI' error='customError'>
<errorMessage>[LDAP: error code 17 - isMemberOf: attribute type
undefined]
</errorMessage>
</modifyResponse>
<ldappc:id ID='74'/>
</ldappc:syncResponse>
</ldappc:bulkSyncResponse>
that is the "hasMember" attribute in the Group Object and the "isMemberOf"
attribute in the member object get the "attribute type undefined" error. can
you tell me how to solve it? thanks
- [grouper-users] LDAPPC——value of naming attribute 'ou' is not present in entry, lucy, 10/18/2010
- Re: [grouper-users] LDAPPC——value of naming attribute 'ou' is not present in entry, Tom Zeller, 10/18/2010
- Re: Re: [grouper-users] LDAPPC——hasMemb er: attribute type undefined, lucy, 10/18/2010
- Message not available
- [grouper-users] Re: LDAPPC——hasMember: a ttribute type undefined, Tom Zeller, 10/19/2010
- Re: [grouper-users] LDAPPC——value of naming attribute 'ou' is not present in entry, Tom Zeller, 10/18/2010
Archive powered by MHonArc 2.6.16.