Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Ldap to Grouper provisioning problem

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Ldap to Grouper provisioning problem


Chronological Thread 
  • From: <>
  • To:
  • Subject: [grouper-users] Ldap to Grouper provisioning problem
  • Date: Fri, 19 Jul 2013 03:29:06 -0400 (EDT)

Hi all,

I am working on implementing Grouper in my University and I am working with
PSP for now. I managed to successfully transfer groups from Grouper to LDAP,
but firstly I want to import in Grouper all the groups created in LDAP.

As I try to sync LDAP to Grouper the following error appears in Grouper's logs
for each group (cn) that exists in LDAP. Grouper manages to transform the ou's
in folders, but the groups ar not imported.

I tried to alter the configurations files to see from where the problem is
coming, but without luck so far.


2013-07-18 11:34:32,845: [main] INFO BaseSpmlProvider.execute(153) - -
Target 'psp' - Add
AddRequest[psoID=PSOIdentifier[id='1TR',targetID=grouper,containerID=<null>],t
argetID=$
2013-07-18 11:34:32,846: [main] INFO BaseSpmlProvider.execute(157) - -
Target 'psp' - Add XML:
<addRequest xmlns='urn:oasis:names:tc:SPML:2:0' entityName='group'
requestID='2013/07/18-11:34:32.838' targetId='grouper'
returnData='everything'>
<psoID ID='1TR' targetID='grouper'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='displayExtension'>
<dsml:value>1TR</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='description'>
<dsml:value>1TR Grouper to LDAP</dsml:value>
</dsml:attr>
</data>
</addRequest>

2013-07-18 11:34:32,846: [main] INFO BaseSpmlProvider.execute(153) - -
Target 'grouper' - Add
AddRequest[psoID=PSOIdentifier[id='1TR',targetID=grouper,containerID=<null>],t
arge$
2013-07-18 11:34:32,847: [main] INFO BaseSpmlProvider.execute(157) - -
Target 'grouper' - Add XML:
<addRequest xmlns='urn:oasis:names:tc:SPML:2:0' entityName='group'
requestID='2013/07/18-11:34:32.838' targetId='grouper'
returnData='everything'>
<psoID ID='1TR' targetID='grouper'/>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='displayExtension'>
<dsml:value>1TR</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core'
name='description'>
<dsml:value>1TR Grouper to LDAP</dsml:value>
</dsml:attr>
</data>
</addRequest>

2013-07-18 11:34:32,848: [main] ERROR BaseSpmlProvider.execute(139) - -
Response[status=failure,error=unsupportedOperation,errorMessages={},requestID=
2013/07/18-11:34:32.838]
java.lang.reflect.InvocationTargetException
[ ... ]
Caused by: java.lang.NullPointerException
at
edu.internet2.middleware.grouper.StemFinder.findByName(StemFinder.java:113)
2013-07-18 11:34:32,849: [main] ERROR BaseSpmlProvider.execute(188) - -
Target 'psp' - Add
AddResponse[pso=<null>,status=failure,error=customError,errorMessages={Target
did not return an AddResponse.},reques$
2013/07/18-11:34:32.838: [main] ERROR BaseSpmlProvider.execute(190) - -
Target 'psp' - Add XML:
<addResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='failure'
requestID='2013/07/18-11:34:32.838' error='customError'>
<errorMessage>Target did not return an AddResponse.</errorMessage>
</addResponse>


Furthermore, when Grouper tries to find the member of the LDAP groups it's
unable to find the attributes in LDAP groups. The following lines are coming
from grouper log.

013-07-18 11:34:32,765: [main] DEBUG
GrouperNameFromLdapDnPSOIdentifierAttributeDefinition.doResolve(95) - -
Grouper name from ldap dn attribute definition 'groupName' - Resolv$
2013-07-18 11:34:32,790: [main] DEBUG
GrouperNameFromLdapDnPSOIdentifierAttributeDefinition.doResolve(95) - -
Grouper name from ldap dn attribute definition 'previousGroupName' $
2013-07-18 11:34:32,791: [main] DEBUG
GrouperNameFromLdapDnPSOIdentifierAttributeDefinition.doResolve(103) - -
Grouper name from ldap dn attribute definition 'previousGroupName'$
2013-07-18 11:34:32,811: [main] WARN
ShibbolethAttributeResolver.resolveAttribute(319) - - null requested
attribute member but no attribute definition exists for that attribute
2013-07-18 11:34:32,811: [main] DEBUG
SimpleAttributeAuthority.getAttributes(106) - - get attributes
'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr' aa 'psp.AttributeAuthority' returne$
2013-07-18 11:34:32,812: [main] DEBUG
SimpleAttributeAuthority.getAttributes(106) - - get attributes
'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr' aa 'psp.AttributeAuthority' returne$
2013-07-18 11:34:32,812: [main] DEBUG
SimpleAttributeAuthority.getAttributes(106) - - get attributes
'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr' aa 'psp.AttributeAuthority' returne$
2013-07-18 11:34:32,812: [main] DEBUG Psp.execute(1072) - - PSP 'psp' - Calc
CalcRequest[id=cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr,requestID=2013/07/18-11:
34:32.737,returnData=e$
2013-07-18 11:34:32,827: [main] DEBUG Pso.getPSO(222) - - Pso 'group' - Get
pso for 'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr'
2013-07-18 11:34:32,828: [main] DEBUG PsoIdentifier.getPSOIdentifier(114) - -
PSO Identifier Definition 'groupName' - Returned
'PSOIdentifier[id='1TR',targetID=grouper,container$
2013-07-18 11:34:32,828: [main] DEBUG PsoReferences.getReferences(148) - -
Pso references 'member' - Get references for
'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr'
2013-07-18 11:34:32,828: [main] DEBUG PsoReference.getReferences(90) - - Pso
reference 'groupMembers' - Get references for
'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr'
2013-07-18 11:34:32,828: [main] DEBUG PsoReference.getReferences(97) - - Pso
reference 'groupMembers' - Source attribute does not exist
2013-07-18 11:34:32,828: [main] DEBUG PsoReference.getReferences(90) - - Pso
reference 'member' - Get references for
'cn=1TR,ou=groups,dc=ldap,dc=test,dc=fr'
2013-07-18 11:34:32,829: [main] DEBUG PsoReference.getReferences(97) - - Pso
reference 'member' - Source attribute does not exist
2013-07-18 11:34:32,829: [main] DEBUG PsoReferences.getReferences(160) - -
Pso references 'member' - Returned 0 references.
2013-07-18 11:34:32,831: [main] DEBUG PsoIdentifier.getPSOIdentifier(86) - -
PSO Identifier Definition 'groupName' - Source attribute 'previousGroupName'
does not exist


I would very much appreciate any help from you.
Thank you in advance!

Sincerely,
Dorin Rautu
DSI, Institut National Polytechnique Toulouse, France



Archive powered by MHonArc 2.6.16.

Top of Page