Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Multiple searchSubjects in sources.xml

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Multiple searchSubjects in sources.xml


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: Philip Harle <>, "" <>
  • Subject: [grouper-users] RE: Multiple searchSubjects in sources.xml
  • Date: Fri, 4 Nov 2016 14:45:21 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:KnB6XReU6/rIUCSENvCF8qrelGMj4u6mDksu8pMizoh2WeGdxc++Zh7h7PlgxGXEQZ/co6odzbGH6eawCCdev96oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JXtkbDjsMONKyxzxxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYk7sb+sVBSaT3ebgjBfwdVWx+cjN92Mq+jRnCSQqXrlsVSGEb2k5QAwnB7Qm8Xp7rtibSsOdi0yCBIcn7C7k/HymhueMjAhDyjzofOiR87XrakNdYjaRHrQinqgAlhYPYfcvdYPVkeb7FcMlfWHFMRN15VipdD5m6YpdVSecNILALgZP6og5EjQqsCBPoTMjv0D5TzDei2KY6wvYsCynHxwdmAsoDtnKSodnoYvRBGdupxbXFmG2QJ8hd3i3wvc2RKkgs
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

This is currently not possible. If the performance of the other way is not
good enough please open a jira. Alternatively you could make a separate
source for those users in the other OU but there may be some cons to that
approach as well...

Thanks
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Philip Harle
Sent: Friday, November 04, 2016 7:33 AM
To:

Subject: [grouper-users] Multiple searchSubjects in sources.xml

Inside of sources.xml we specify the path to the base OU in Active Directory
containing the majority of our user accounts. However, we have a scenario
where our subject user accounts exist across two separate locations in AD.

We currently use the following:
<search>
<searchType>searchSubjectByIdentifier</searchType>
<param>
<param-name>filter</param-name>
<param-value>
(&amp;(cn=%TERM%)(objectclass=person))
</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=Campus
Users,DC=campus,DC=ncl,DC=ac,DC=uk</param-value>
</param>
</search>

Is it possible to specify a secondary location, for example 'OU=Other
Users,DC=campus,DC=ncl,DC=ac,DC=uk' in addition to the one specified above?

I've attempted to construct a search block in sources.xml using numParameters
to allow us to query a second location if the subject is not found in the
first, but I've not had much success.

I realise this could be achieved by specifying the base as
'DC=campus,DC=ncl,DC=ac,DC=uk', however our domain contains a number of other
root OU's that we'd rather not have Grouper search through in order to
maintain performance of the service.

Thanks,

---
Phil Harle
IT Service
Newcastle University



Archive powered by MHonArc 2.6.19.

Top of Page