ldapsearch groups

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 :slight_smile:

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

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:[color=blue]

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.
[/color]

tBM :slight_smile:

On Thu, 10 Aug 2017 20:18:20 +0000, tBM wrote:
[color=blue]

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

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

Thanks so much for your time and info on this.

On 08/10/2017 08:45 PM, Jim Henderson wrote:[color=blue]

On Thu, 10 Aug 2017 20:18:20 +0000, tBM wrote:
[color=green]

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

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
[/color]

tBM :slight_smile: