Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-01-2009, 10:43 AM   #1
Registered: Oct 2004
Location: Athens, Greece
Distribution: Suse Linux
Posts: 98

Rep: Reputation: 16
Complex LDAP filter for ldapsearch

I have a sendmail/LDAP email setup.
On that setup each user can create some 'child' accounts. The difference between the master account and it's child is an entry in the LDAP named "manager"

The manager entry the dn of the master account. EG:
For user with email, the 'manager' entry in LDAP is:,,dc=domain,dc=com

And for his child account child the entry should be the same!

So, I need to find all MASTER accounts. I am not an LDAP expert, so, I need your help. How should I write the ldapsearch filter?

Thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to get ldap to bind to Active Directory server, but am able to ldapsearch kcorupe Linux - Server 2 08-03-2012 02:57 AM
Sort attributes by name for each entry in ldapsearch output (ldap database export) llattan Linux - Enterprise 0 04-04-2009 08:50 PM
Dansguardian - Won't filter new addresses added to filter list TechnoBod Linux - Software 1 01-08-2008 01:40 AM
LDAP > ldapsearch doesn't print the entries when bound as normal user cbonar Linux - Server 2 09-22-2007 01:19 PM
Complex firewall/filter/forwarder/more bobtmasse Linux - Security 5 10-21-2003 01:09 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration