[Date Prev][Date Next] [Chronological] [Thread] [Top]

Namingcontext problem?



hello,

Given the following:
~~~~~~~~~~~~~~~~~~~~
Host Server: 
Port no:
Bind DN:
Bind Pwd:

I need to find out the various OUs and the no of entries in these OUs 
for any LDAP directory.

I think i'll have to get the namingcontexts intially and the keep doing 
the searches till i find all the OUs..(a depth first search etc..)

My problem is that I cannot get the namingcontext of all the directories 
(eg..the Public directories like YAHOO or BIGFOOT etc..) 

is there any otherway to go about this?

I tried this!
ldap_search with following parameters..

Base: NULL
Filter:(objectclass=*)
Scope: BASE
Attr: namingcontexts

Please let me know if i am going wroing somewhere..

regards,

Dhananjay Kulkarni
Maharashtra Institute of Technology
Pune, India



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com