Sridhar Bandi wrote:
[...]
unfortunately, I will not be knowing the entries under "ou=local" entries, they might be some random users whose names are not known. I would like to list all the entries under all "ou=local".
[...]
This presumes that both John and Tom are unique in the organization.
What you can also do, is to wrap ldapsearch in a simple custom shell (or other other programming language) script that repeatedly calls ldapsearch with different parameters. By using 'echo -n' and 'read' and using variables in a shell script, you can even make your search interactive.
But I would want to make achieve in a single search to avoid the network delay.
Good luck,
--Tonni
-- Tony Earnshaw
Do not CC me or your mail will probably be rejected. I don't like this, either. Blame it on Swen and a slow Internet connection.
http://www.billy.demon.nl Mail: billy-at-billy.demon.nl