grouper-users - [grouper-users] psp : sync ok but not bulkSync
Subject: Grouper Users - Open Discussion List
List archive
- From: Wallaert-Taquet Brigitte <>
- To:
- Subject: [grouper-users] psp : sync ok but not bulkSync
- Date: Mon, 19 Oct 2015 17:07:05 +0200
Hello, I test psp with a ldap test server and I probably forgot something... The psp -sync with a specific group is ok but not the bulkSync. For example, this is ok : ./gsh.sh -psp -sync mes-groupes:appli:nuxeo-admin -entityName group I obtain that : <psp:syncResponse xmlns:psp='http://grouper.internet2.edu/psp' status='success' requestID='2015/10/19-16:45:02.104'> <addResponse xmlns='urn:oasis:names:tc:SPML:2:0' status='success' requestID='2015/10/19-16:45:03.321'> <pso entityName='group'> <psoID ID='cn=appli:nuxeo-admin,ou=groups,dc=univ-lille1,dc=fr' targetID='ldap'/> <data> <dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='objectClass'> <dsml:value>groupOfNames</dsml:value> <dsml:value>ustlPrivGroupe</dsml:value> </dsml:attr> </data> <capabilityData mustUnderstand='true' capabilityURI='urn:oasis:names:tc:SPML:2:0:reference'> <spmlref:reference xmlns='urn:oasis:names:tc:SPML:2:0' xmlns:spmlref='urn:oasis:names:tc:SPML:2:0:reference' typeOfReference='member'> <spmlref:toPsoID ID='uid=user1,ou=people,dc=univ-lille1,dc=fr' targetID='ldap'/> </spmlref:reference> <spmlref:reference xmlns='urn:oasis:names:tc:SPML:2:0' xmlns:spmlref='urn:oasis:names:tc:SPML:2:0:reference' typeOfReference='member'> <spmlref:toPsoID ID='uid=user2,ou=people,dc=univ-lille1,dc=fr' targetID='ldap'/> </spmlref:reference> </capabilityData> </pso> </addResponse> <psp:id ID='mes-groupes:appli:nuxeo-admin'/> </psp:syncResponse> But when I try that : ./gsh.sh -psp -bulkSync -entityName group I obtain this error : 2015-10-19 16:39:24,073: [main] DEBUG Psp.getAllSourceIdentifiers(1582) - - PSP 'psp' - Calc BulkCalcRequest[id2015-10-19 16:39:24,073: [main] DEBUG Psp.getAllSourceIdentifiers(1582) - - PSP 'psp' - Calc BulkCalcRequest[id=edu.internet2.middleware.psp.spml.request.BulkProvisioningRequest,requestID=<null>,returnData=identifier,schemaEntityRef=SchemaEntityRef[targetID=<null>,entityName=group,isContainer=false], Resolved attributes '[groupCnLdap]'.=edu.internet2.middleware.psp.spml.request.BulkProvisioningRequest,requestID=<null>,returnData=identifier,schemaEntityRef=SchemaEntityRef[targetID=<null>,entityName=group,isContainer=false], Resolved attributes '[groupCnLdap]'. When I pass authoritative to true, the bulkSync delete all the groups with objectClass=groupOfNames in the ldap but don't publish Grouper's groups in the ldap... Here is my configuration : a part of my psp.xml : <pso id="group" authoritative="true" allSourceIdentifiersRef="groupCnLdap"> <!-- The ldap group DN. --> <identifier ref="groupDn" targetId="ldap" containerId="${edu.internet2.middleware.psp.groupsBaseDn}" /> <!-- Identifies ldap group objects which exist on the target by objectClass attribute value. --> <identifyingAttribute name="objectClass" value="${edu.internet2.middleware.psp.groupObjectClass}" /> <attribute name="objectClass" /> <!-- The ldap group "member" attribute. --> <references name="member"> <reference ref="membersLdap" toObject="member" /> <reference ref="membersGsa" toObject="group" /> </references> </pso> a part of my psp-resolver.xml : <resolver:DataConnector id="GroupPSPConnector" xsi:type="grouper:GroupDataConnector"> <grouper:Filter xsi:type="grouper:GroupExactAttribute" name="psp-publication" value="true" /> <grouper:Attribute id="members" /> <grouper:Attribute id="groups" /> </resolver:DataConnector> <resolver:AttributeDefinition id="groupCnLdap" xsi:type="ad:Simple"> <resolver:Dependency ref="GroupPSPConnector" /> </resolver:AttributeDefinition> <resolver:AttributeDefinition id="groupDn" xsi:type="psp-grouper-ldap:LdapDnFromGrouperNamePSOIdentifier" structure="${edu.internet2.middleware.psp.structure}" sourceAttributeID="cn-ldap" baseDn="${edu.internet2.middleware.psp.groupsBaseDn}" rdnAttributeName="cn" > <resolver:Dependency ref="GroupPSPConnector" /> <resolver:Dependency ref="UpdateGroupNameChangeLogDataConnector" /> <resolver:Dependency ref="UpdateGroupDescriptionChangeLogDataConnector" /> </resolver:AttributeDefinition> a part of my ldap.properties : edu.internet2.middleware.psp.groupsBaseDn=ou=groups,dc=univ-lille1,dc=fr edu.internet2.middleware.psp.groupObjectClass=groupOfNames edu.internet2.middleware.psp.structure=flat I have several groups with a psp-publication=true (see screen.jpg). Any idea for help ? Thanks a lot ! --
Brigitte WALLAERT TAQUET Cheffe de projet GED Nuxeo Experte Grouper d'Internet2 Université de Lille - Sciences et Technologies | www.univ-lille1.fr Service: CRI Bât. M4 - Bureau 34 59655 Villeneuve d'Ascq Tél. +33 (0)3 20 33 71 65 |
Attachment:
screen.jpg
Description: JPEG image
- [grouper-users] Some fixes are missing in grouper 2.2.2, Yoann Delattre, 10/19/2015
- [grouper-users] psp : sync ok but not bulkSync, Wallaert-Taquet Brigitte, 10/19/2015
- Re: [grouper-users] psp : sync ok but not bulkSync, Jeffrey Crawford, 10/20/2015
- Re: [grouper-users] psp : sync ok but not bulkSync, Wallaert-Taquet Brigitte, 10/23/2015
- Re: [grouper-users] psp : sync ok but not bulkSync, Jeffrey Crawford, 10/20/2015
- RE: [grouper-users] Some fixes are missing in grouper 2.2.2, Chris Hyzer, 10/20/2015
- Re: [grouper-users] Some fixes are missing in grouper 2.2.2, Yoann Delattre, 10/22/2015
- [grouper-users] psp : sync ok but not bulkSync, Wallaert-Taquet Brigitte, 10/19/2015
Archive powered by MHonArc 2.6.16.