grouper-users - Re: [grouper-users] sources.xml ldap and script groupershell
Subject: Grouper Users - Open Discussion List
List archive
- From: Tom Zeller <>
- To: Wallaert-Taquet Brigitte <>
- Cc:
- Subject: Re: [grouper-users] sources.xml ldap and script groupershell
- Date: Wed, 5 Oct 2011 13:01:46 -0400
> Hello,
>
> I make a script that have to populate a group (named "ustlroletemoin") for
> people LDAP for whom attribute ldap "ustlRole" have a value.
>
> So, I modify sources.xml for the search asks on ustlRole attribute (I don't
> know exactly when this search is used ?):
>
> <search>
> <searchType>search</searchType>
> <param>
> <param-name>filter</param-name>
> <param-value>
> (ustlRole=%TERM%)
> <--------------------------------------------------
> </param-value>
> </param>
> <param>
> <param-name>scope</param-name>
> <param-value>
> SUBTREE_SCOPE
> </param-value>
> </param>
> <param>
> <param-name>base</param-name>
> <param-value>
> ou=people,dc=univ-lille1,dc=fr
> </param-value>
> </param>
> </search>
>
> But I don't find a method that ask with this search ? It seems that
> SubjectFinder.findAll asks only on searchSubject in sources.xml ?
>
> Before to put "*" (!), I try this and I have no results although there are
> persons who have ustlRole=IntranetTest-users :
>
> for (Subject sujet : SubjectFinder.findAll("IntranetTest-users")) {
> groupetemoin.addMember(sujet,false); nbreusersajoutes+=1; } }
>
> result : entree and nbreuserajoutes=0
Are you using GrouperJndiSourceAdapter in sources.xml ?
<source
adapterClass="edu.internet2.middleware.grouper.subj.GrouperJndiSourceAdapter"
... >
Try increasing the log level in log4j.properties :
log4j.logger.edu.internet2.middleware.subject = DEBUG
and look for a log statement that looks like
searchType: <searchType> filter <filter> base: <base> scope: <scope>
to make sure that the correct search is being performed.
- [grouper-users] sources.xml ldap and script groupershell, Wallaert-Taquet Brigitte, 10/05/2011
- Re: [grouper-users] sources.xml ldap and script groupershell, Tom Zeller, 10/05/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/05/2011
- Re: [grouper-users] sources.xml ldap and script groupershell, Wallaert-Taquet Brigitte, 10/07/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/07/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Brigitte Wallaert Taquet, 10/07/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/07/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/08/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Brigitte Wallaert Taquet, 10/08/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/08/2011
- Re: [grouper-users] sources.xml ldap and script groupershell, Wallaert-Taquet Brigitte, 10/10/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/10/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/08/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/07/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Brigitte Wallaert Taquet, 10/07/2011
- RE: [grouper-users] sources.xml ldap and script groupershell, Chris Hyzer, 10/07/2011
- Re: [grouper-users] sources.xml ldap and script groupershell, Wallaert-Taquet Brigitte, 10/07/2011
Archive powered by MHonArc 2.6.16.