grouper-users - RE: [grouper-users] sources.xml ldap and script groupershell
Subject: Grouper Users - Open Discussion List
List archive
- From: Chris Hyzer <>
- To: Wallaert-Taquet Brigitte <>, Tom Zeller <>
- Cc: "" <>
- Subject: RE: [grouper-users] sources.xml ldap and script groupershell
- Date: Fri, 7 Oct 2011 14:07:05 +0000
- Accept-language: en-US
Not sure I completely understand, but findAll cannot have a parameter of
where it is being called from, it is consistent. But you can have a slightly
different sources.xml in your UI as opposed to WS or something else. Can you
explain what you need in a different way? :)
Thanks,
Chris
-----Original Message-----
From: Wallaert-Taquet Brigitte
[mailto:]
Sent: Friday, October 07, 2011 5:54 AM
To: Chris Hyzer; Tom Zeller
Cc:
Subject: Re: [grouper-users] sources.xml ldap and script groupershell
Hello,
Thanks a lot for your indications : effectively, the logs show me the
asks which was ok and finally, the administrator's ldap find that the
attribute "ustlRole" was protected and my server wasn't the rights to
bind with connection ldap anonyme.
Are you using GrouperJndiSourceAdapter in sources.xml ?
<source
adapterClass="edu.internet2.middleware.grouper.subj.GrouperJndiSourceAdapter"
...>
Yes
Now I have problem because if I modify the search in sources.xml for my
groupershell, the LiteUI will not find the subject correctly (because
ask on ustlRole attribute instead on uid/displayName attributes).
So, do you think it is possible to parameter somewhere for
SubjectFinder.findAll use another search defined in sources.xml (for
example, I can define another searchType named "searchUstlRole" in my
sources.xml) or to parameter LiteUI and AdminUi to use another searchType ?
Thanks a lot !
Brigitte
Le 06/10/2011 05:34, Chris Hyzer a écrit :
> Search is used in SubjectFinder.findAll e.g. on the UI when you do a search
> for a subject...
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Wallaert-Taquet Brigitte
> Sent: Wednesday, October 05, 2011 5:32 AM
> To:
>
> Subject: [grouper-users] sources.xml ldap and script groupershell
>
> 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
>
> Thanks a lot !
>
--
Brigitte Wallaert-Taquet
Ingénieure d'études
Chargée d'étude
Espace collaboratif de Documents
Université Lille1
Sciences et Technologies
- [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, Wallaert-Taquet Brigitte, 10/11/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, Brigitte Wallaert Taquet, 10/08/2011
- Re: [grouper-users] sources.xml ldap and script groupershell, Wallaert-Taquet Brigitte, 10/07/2011
Archive powered by MHonArc 2.6.16.