grouper-users - Re: [grouper-users] ldappcng error
Subject: Grouper Users - Open Discussion List
List archive
- From: Wallaert-Taquet Brigitte <>
- To: Tom Zeller <>
- Cc: "" <>
- Subject: Re: [grouper-users] ldappcng error
- Date: Mon, 03 Oct 2011 12:33:22 +0200
Hello,
It was just a problem with the case with objectClass !
Thank you wery much !
Brigitte
Le 29/09/2011 15:31, Tom Zeller a écrit :
The errorWhen I look in ldap with GQ tool with "ustlFixeUid=luc.briquet" , I see the entry.
ERROR LdapTargetProvider.getPSODefinition(797) - - Unable to determine schemameans that 'ustlFixeUid=luc.briquet,...' does not match
entity for ustlFixeUid=luc.briquet,ou=etudiants,dc=univ-lille1,dc=fr
<identifier ref="member-dnFixe" baseId="${etudiantsOU}">which means that 'ustlFixeUid=luc.briquet,...' does not have the
<identifyingAttribute name="objectClass" value="ustlCriFixeEtu" />
</identifier>
objectClass value "ustlCriFixeEtu".
If you do an ldap lookup on
'ustlFixeUid=luc.briquet,ou=etudiants,dc=univ-lille1,dc=fr', what
values of objectClass are returned ?
If I remember correctly, this is case sensitive.
On Thu, Sep 29, 2011 at 3:39 AM, Wallaert-Taquet Brigitte
<>
wrote:
Hello,
I try to publish in ldap in the branch ou=etudiants, ldap'administrator
tells me that he see the correct request and think that the problem (see the
error all in bottom) come from my parameters. I don't understand what it is
wrong in my parameters... It seems that the problem comes from the
DataConnector named SpmlDataConnectorFixe and the parameter returnData.
Thanks for your help.
the command is : gsh.sh -ldappcng -sync luc.briquet -entityName memberFixe
luc.briquet exist in the branch ou=etudiants with ustlFixeUid=luc.briquet
In that branch, there is only 2 fields : ustlFixeUid and ustlRoleFixe and a
unique objectClass = ustlCriFixeEtu
I have to update field ustlRoleFixe in this branch of ldap with the value of
group's attribute named "ustlRole".
Here the portion in my ldappc.properties :
# Base DN for members etudiants
etudiantsOU=ou=etudiants,dc=univ-lille1,dc=fr
Here the portion in my ldappc.xml :
<object id="memberFixe">
<identifier ref="member-dnFixe" baseId="${etudiantsOU}">
<identifyingAttribute name="objectClass" value="ustlCriFixeEtu" />
</identifier>
<attribute name="ustlRole" ref="memberIsMemberOfFixe" />
</object>
Here the portion in my ldappc-resolver.xml :
<resolver:DataConnector id="MemberDataConnector"
xsi:type="grouper:MemberDataConnector">
<grouper:GroupFilter xsi:type="grouper:ExactAttribute" name="PubLDAPPeople"
value="ustlRole"/>
<grouper:Attribute id="groups" />
</resolver:DataConnector>
<resolver:AttributeDefinition id="member-dnFixe" xsi:type="ad:Simple"
sourceAttributeID="psoID">
<resolver:Dependency ref="SpmlDataConnectorFixe" />
</resolver:AttributeDefinition>
<resolver:DataConnector id="SpmlDataConnectorFixe" provider="ldap-provider"
xsi:type="ldappc:SPMLDataConnector"
scope="subTree" base="${etudiantsOU}" returnData="identifier">
<resolver:Dependency ref="MemberDataConnector" />
<ldappc:FilterTemplate>(ustlFixeUid=${id.get(0)})</ldappc:FilterTemplate>
</resolver:DataConnector>
<resolver:AttributeDefinition id="memberIsMemberOfFixe"
xsi:type="grouper:Group" sourceAttributeID="groups">
<resolver:Dependency ref="MemberDataConnector" />
<grouper:Attribute id="ustlRoleFixe" />
</resolver:AttributeDefinition>
I have this error :
2011-09-29 10:06:39,645: [main] INFO LdapTargetProvider.execute(583) - -
SearchRequest[query=Query[filter=(ustlFixeUid=luc.briquet),basePsoID=PSOIdentifier[id='ou=etudiants,dc=univ-lille1,dc=fr',targetID=<null>,containerID=<null>],scope=subTree,targetID=<null>],returnData=identifier,maxSelect=0,requestID=2011/09/29-10:06:39.645_Q3FQW9NS]
2011-09-29 10:06:39,666: [main] ERROR
LdapTargetProvider.getPSODefinition(797) - - Unable to determine schema
entity for ustlFixeUid=luc.briquet,ou=etudiants,dc=univ-lille1,dc=fr
2011-09-29 10:06:39,667: [main] ERROR BaseSpmlProvider.execute(95) - -
Response[status=failure,error=unsupportedOperation,errorMessages={},requestID=2011/09/29-10:06:39.645_Q3FQW9NS]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
edu.internet2.middleware.ldappc.spml.provider.BaseSpmlProvider.execute(BaseSpmlProvider.java:79)
at
edu.internet2.middleware.grouper.shibboleth.dataConnector.SPMLDataConnector.resolve(SPMLDataConnector.java:210)
at
edu.internet2.middleware.grouper.shibboleth.dataConnector.SPMLDataConnector.resolve(SPMLDataConnector.java:54)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.ContextualDataConnector.resolve(ContextualDataConnector.java:76)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.dataConnector.ContextualDataConnector.resolve(ContextualDataConnector.java:30)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveDataConnector(ShibbolethAttributeResolver.java:345)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveDependencies(ShibbolethAttributeResolver.java:377)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttribute(ShibbolethAttributeResolver.java:303)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttributes(ShibbolethAttributeResolver.java:257)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttributes(ShibbolethAttributeResolver.java:130)
at
edu.internet2.middleware.grouper.shibboleth.attribute.SimpleAttributeAuthority.getAttributes(SimpleAttributeAuthority.java:93)
at
edu.internet2.middleware.grouper.shibboleth.attribute.SimpleAttributeAuthority.getAttributes(SimpleAttributeAuthority.java:36)
at
edu.internet2.middleware.ldappc.spml.PSP.getProvisioningContext(PSP.java:798)
at edu.internet2.middleware.ldappc.spml.PSP.execute(PSP.java:174)
at
edu.internet2.middleware.ldappc.spml.PSPDiffer.diff(PSPDiffer.java:112)
at edu.internet2.middleware.ldappc.spml.PSP.execute(PSP.java:221)
at edu.internet2.middleware.ldappc.spml.PSP.execute(PSP.java:260)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
edu.internet2.middleware.ldappc.spml.provider.BaseSpmlProvider.execute(BaseSpmlProvider.java:79)
at edu.internet2.middleware.ldappc.spml.PSPCLI.run(PSPCLI.java:168)
at edu.internet2.middleware.ldappc.spml.PSPCLI.main(PSPCLI.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)
Caused by: edu.internet2.middleware.ldappc.exception.LdappcException: Unable
to determine schema entity for
ustlFixeUid=luc.briquet,ou=etudiants,dc=univ-lille1,dc=fr
at
edu.internet2.middleware.ldappc.spml.provider.LdapTargetProvider.getPSODefinition(LdapTargetProvider.java:798)
at
edu.internet2.middleware.ldappc.spml.provider.LdapTargetProvider.getPSO(LdapTargetProvider.java:702)
at
edu.internet2.middleware.ldappc.spml.provider.LdapTargetProvider.execute(LdapTargetProvider.java:656)
... 35 more
2011-09-29 10:06:39,672: [main] ERROR SPMLDataConnector.resolve(214) - -
resolve 'luc.briquet' dc 'SpmlDataConnectorFixe' Unable to resolve
attributes, expected a SearchResponse but received class
org.openspml.v2.msg.spml.Response
2011-09-29 10:06:39,673: [main] ERROR PSP.execute(202) - -
CalcResponse[id=luc.briquet,status=failure,error=customError,errorMessages={Unable
to resolve attributes, expected a
SearchResponse},requestID=2011/09/29-10:06:39.393_Q3FQW9NN]
2011-09-29 10:06:39,674: [main] ERROR PSP.execute(227) - -
DiffResponse[id=luc.briquet,status=failure,error=customError,errorMessages={Unable
to resolve attributes, expected a
SearchResponse},requestID=2011/09/29-10:06:39.391_Q3FQW9NM]
2011-09-29 10:06:39,674: [main] ERROR PSP.execute(264) - -
SyncResponse[id=luc.briquet,status=failure,error=customError,errorMessages={Unable
to resolve attributes, expected a
SearchResponse},requestID=2011/09/29-10:06:39.391_Q3FQW9NL]
2011-09-29 10:06:39,675: [main] INFO PSPCLI.run(184) - - End of ldappcng
execution : 290 ms
--
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies
--
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies
- Re: [grouper-users] ldappcng error, Wallaert-Taquet Brigitte, 10/03/2011
Archive powered by MHonArc 2.6.16.