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: "Hyzer, Chris" <>
  • To: Jeff McCullough <>, Gouper Users List <>
  • Subject: RE: [grouper-users] grouperLoaderLdapGroupDescriptionExpression
  • Date: Tue, 11 Oct 2016 19:05:11 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:t+hgaBJNEDLBYQeWutmcpTZWNBhigK39O0sv0rFitYgUL//xwZ3uMQTl6Ol3ixeRBMOAtKIC1rGd6v2ocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWapAQfERTnNAdzOv+9WsuL15z2hKiO/MjxbgtGzB+2Sq52KBKrogWZ4ssbj4VnIY47xwHKr39FaqJbyX4+YRq8mAvk6934wYVu6T8Yn/M664YUXr/9Yrw1V/lFFzk8KEg04tHmrx/OUVHJ63cBBDY4iB1NVkLl/QP3RNO5mSvgt/E3kH2fNs3nX70ucTW55OF2UBLujmEKOyNvozKfsdB5kK8O+EHpnBd42YOBJdjNbPc=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Not that I know of, I think you need to construct the description from attributes in LDAP…

 

From: [mailto:] On Behalf Of Jeff McCullough
Sent: Tuesday, October 11, 2016 2:39 PM
To: Gouper Users List <>
Subject: Re: [grouper-users] grouperLoaderLdapGroupDescriptionExpression

 

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