PDA

View Full Version : ldapsearch groups



tBM
10-Aug-2017, 21:18
Is it possible with an ldapsearch filter to list the members of one
group that do not appear as members of two other groups?



--
-
tBM :)

kgroneman
10-Aug-2017, 21:45
Which Micro Focus product are you talking about. If I know that, I can move
your question into the appropriate product discussion forum. This is just a
general chat area. Product experts don't give support here.

--
Kim - 8/10/2017 2:44:25 PM

tBM
10-Aug-2017, 21:54
I am not asking a product specific question. I am asking an ldap
protocol specific question.

Thanks,

On 08/10/2017 04:45 PM, kgroneman wrote:
> Which Micro Focus product are you talking about. If I know that, I can move
> your question into the appropriate product discussion forum. This is just a
> general chat area. Product experts don't give support here.
>

--
-
tBM :)

hendersj
11-Aug-2017, 01:45
On Thu, 10 Aug 2017 20:18:20 +0000, tBM wrote:

> Is it possible with an ldapsearch filter to list the members of one
> group that do not appear as members of two other groups?

Offhand, I can't think of a way to do this, because LDAP's search filter
mechanism doesn't support intersection-style operators.

I'd be most inclined to extract the data from the three groups in
question and then process that data to make a determination - I'd
probably write a script to parse the LDIF output into a CSV for each and
then pull it into a spreadsheet to do the analysis.

Jim
--
Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell/SUSE/NetIQ Knowledge Partner

tBM
15-Aug-2017, 15:11
Thanks so much for your time and info on this.



On 08/10/2017 08:45 PM, Jim Henderson wrote:
> On Thu, 10 Aug 2017 20:18:20 +0000, tBM wrote:
>
>> Is it possible with an ldapsearch filter to list the members of one
>> group that do not appear as members of two other groups?
>
> Offhand, I can't think of a way to do this, because LDAP's search filter
> mechanism doesn't support intersection-style operators.
>
> I'd be most inclined to extract the data from the three groups in
> question and then process that data to make a determination - I'd
> probably write a script to parse the LDIF output into a CSV for each and
> then pull it into a spreadsheet to do the analysis.
>
> Jim
>

--
-
tBM :)