grouper-users - [grouper-users] Problem creating LDAP_GROUPS_FROM_ATTRIBUTES
Subject: Grouper Users - Open Discussion List
List archive
- From: "Bryan E. Wooten" <>
- To: "" <>
- Subject: [grouper-users] Problem creating LDAP_GROUPS_FROM_ATTRIBUTES
- Date: Wed, 21 Aug 2013 14:16:13 +0000
- Accept-language: en-US
When I try and create groups from LDAP attributes I get the following error: 2013-08-21 07:33:40,087: [main] ERROR GrouperLoaderType.syncOneGroupMembership(2 308) - - Problem with group: :uofu:ref-groups:uuParttimeEmployee_SOR edu.internet2.middleware.grouper.exception.StemNotFoundException: Can't find ste m by name: ':uofu:ref-groups', Yet when I run the following in the gsh I see this: gsh 0% grouperSession = GrouperSession.startRootSession(); edu.internet2.middleware.grouper.GrouperSession: 2a6c7a1096244c49b4cb7f19979540c7,'GrouperSystem','application' gsh 1% stem = StemFinder.findByName(grouperSession,"uofu"); stem: name='uofu' displayName='University of Utah' uuid='6a6e74edaf024c838740f26762f37c2d' gsh 2% stem = StemFinder.findByName(grouperSession,"ref-groups"); // Error: unable to evaluate command: Sourced file: inline evaluation of: ``stem = StemFinder.findByName(grouperSession,"ref-groups");'' : Method Invocation StemFinder.findByName // See error log for full stacktrace // caused by: edu.internet2.middleware.grouper.exception.StemNotFoundException: // Can't find stem by name: 'ref-groups' gsh 3% stem = StemFinder.findByName(grouperSession,"uofu:ref-groups"); stem: name='uofu:ref-groups' displayName='University of Utah:Reference Groups' uuid='38aca8624b6a4a3697816680b9b33061' gsh 4% Any Idea what is broken? I created my Grouper group like this: grouperSession = GrouperSession.startRootSession(); group = new GroupSave(grouperSession).assignName("etc:loader:groupsFromUuEmployeeAttribute").assignCreateParentStemsIfNotExist(true).save(); attributeAssign = group.getAttributeDelegate().assignAttribute(LoaderLdapUtils.grouperLoaderLdapAttributeDefName()).getAttributeAssign(); attributeAssign = group.getAttributeDelegate().retrieveAssignment(null, LoaderLdapUtils.grouperLoaderLdapAttributeDefName(), false, true); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapTypeName(), "LDAP_GROUPS_FROM_ATTRIBUTES"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapFilterName(), "(!(uuemployee=gt*))"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapQuartzCronName(), "0 0 0 0/1 30 ?"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapSearchDnName(), "ou=people,dc=grouperad,dc=utah,dc=edu"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapServerIdName(), "personLdap"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapSourceIdName(), "ldap"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapGroupAttributeName(), "uuemployee"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapSubjectIdTypeName(), "subjectIdentifier"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapGroupNameExpressionName(), "uofu:ref-groups:${groupAttribute}_SOR"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapSubjectExpressionName(), "${subjectAttributes['cn']}"); attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapExtraAttributesName(), "cn"); group = GroupFinder.findByName(grouperSession, "etc:loader:groupsFromUuEmployeeAttribute"); loaderRunOneJob(group); Thanks, Bryan |
- [grouper-users] Problem creating LDAP_GROUPS_FROM_ATTRIBUTES, Bryan E. Wooten, 08/21/2013
- [grouper-users] RE: Problem creating LDAP_GROUPS_FROM_ATTRIBUTES, Chris Hyzer, 08/21/2013
- [grouper-users] RE: Problem creating LDAP_GROUPS_FROM_ATTRIBUTES, Bryan E. Wooten, 08/21/2013
- [grouper-users] RE: Problem creating LDAP_GROUPS_FROM_ATTRIBUTES, Chris Hyzer, 08/21/2013
Archive powered by MHonArc 2.6.16.