Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] grouperLoaderLdapGroupDescriptionExpression

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] grouperLoaderLdapGroupDescriptionExpression


Chronological Thread 
  • From: Jeff McCullough <>
  • To: Gouper Users List <>
  • Subject: Re: [grouper-users] grouperLoaderLdapGroupDescriptionExpression
  • Date: Tue, 11 Oct 2016 11:38:56 -0700
  • Ironport-phdr: 9a23:e1cZGhQBFDx/KYqeRr4PQA/eVdpsv+yvbD5Q0YIujvd0So/mwa64ZReN2/xhgRfzUJnB7Loc0qyN7PCmBDdLuMvJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3XfDB4LeXtG4PUk9//l6Xro8WSME10g2+SZq5qIQ/+kB7crNJepYp5Nu5lxQHOv2NFYaFL3m5yPnqSmQrx/MG94MQl/ihN7aEP7clFBIf3capwaLdzETAiNH065IW/txTNQw6EznERSGYblhdZRQXJ8UepDd/KriLmu78li2GhNsrsQOVxAGz64g==

I see I confused what was possible there. Let me take a slightly different tack. The LDAP loader puts some auto created text into the description for the groups it is managing. For most groups it is exactly what is needed. While I may need to switch to an SQL based loader group, is there a way to have the LDAP loader leave the description field as is?

Jeff


On Oct 11, 2016, at 11:15 AM, Hyzer, Chris <> wrote:

groupAttributes are attributes retrieved from ldap, does the attribute “description” exist in ldap, and are you retrieving it?
 
if you leave this part out does it blank out a manual description or something?  If so is there a description you can construct from LDAP attributes?
 
On sql based loader groups it’s the SQL group sql query there is a col for description
 
Thanks
Chris
 
From:  [] On Behalf Of Jeff McCullough
Sent: Tuesday, October 11, 2016 1:27 AM
To: Gouper Users List <>
Subject: [grouper-users] grouperLoaderLdapGroupDescriptionExpression
 
 
Two questions:
 
1) I’m trying to use grouperLoaderLdapGroupDescriptionExpression with an LDAP loader group. I did the LDAP loader setup using GSH. The only additional thing I’m adding, compared to other LDAP loader groups, is the groupDescriptionExpressionName so the description doesn’t change:
 
attributeAssign.getAttributeValueDelegate().assignValue(LoaderLdapUtils.grouperLoaderLdapGroupDescriptionExpressionName(), "${groupAttributes['description']}");
 
I get the following error when the job is run:
 
// Error: unable to evaluate command: Sourced file: inline evaluation of: ``loaderRunOneJob(group);'' : Error invoking compiled command: : Error in compiled command: java.lang.RuntimeException: edu.internet2.middleware.grouper.exception.ExpressionLanguageMissingVariableException: variable 'groupAttributes' is not defined in script: 'groupAttributes['description’]'


Any ideas?


2) Is there a similar attribute for SQL based loader groups?


Thank you,
Jeff




Archive powered by MHonArc 2.6.19.

Top of Page