Need help to search all dc's available

omkar <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.ldap
Organization http://groups.google.com
Message-ID <4604f98d-252b-4904-8643-3e8d06fb7cb5@s14g2000vbp.googlegroups.com>
hi all,
I am trying to write one tool, that could find the all available dc
values.
see example:
-> base dn: dc=A, dc=B, dc=C
                  ou =users, dc=A, dc=B, dc=C
                  ou= groups,dc=A, dc=B, dc=C
                  dc=D, dc=A, dc=B, dc=C
                            ou=users, dc=D, dc=A, dc=B, dc=C
something like structure I have in LDAP DIR,
now I just want to find out all avalable dc's by accepting base dn as
input in PERL:LDAP.
How I can do that? any tutorial / script?

Thanks,
Omi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.