Re: Need help to search all dc's available

2009-01-06 Thread Graham Barr
On Jan 6, 2009, at 4:12 AM, omkar kulkarni wrote: ok Let me tell you my actual Use Case: I am developing one tool called ldaphelper. what this tool will do is : ldaphelper -discover : this will connect to local machine and try to find out all available domains (DC Objects) in that ldap DIR and

Re: Need help to search all dc's available

2009-01-06 Thread omkar kulkarni
ok Let me tell you my actual Use Case: I am developing one tool called ldaphelper. what this tool will do is : ldaphelper -discover : this will connect to local machine and try to find out all available domains (DC Objects) in that ldap DIR and write to XML with som attributes those I needed for a

Re: Need help to search all dc's available

2009-01-06 Thread Buchan Milne
On Tuesday 06 January 2009 10:57:17 omi wrote: > On Jan 6, 1:15 pm, bgmi...@staff.telkomsa.net (Buchan Milne) wrote: > > On Monday 05 January 2009 19:56:03 omkar wrote: > > > hi all, > > > I am trying to write one tool, that could find the all available dc > > > values. > > > > You should pose your

Re: Need help to search all dc's available

2009-01-06 Thread Karsten Kankowski
Hey Omi, Not knowing exact what you expect from your search but: If you use a filter like "objectclass=dcObject" your result include only all these objects and it´s parents ( so far as i know ). Your solution seemed to me efficient but do you realy want to get ALL information after " dc=A, dc=B,

Re: Need help to search all dc's available

2009-01-06 Thread omi
On Jan 5, 10:56 pm, oakulka...@gmail.com (Omkar) wrote: > 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 >          

Re: Need help to search all dc's available

2009-01-06 Thread omi
On Jan 6, 1:15 pm, bgmi...@staff.telkomsa.net (Buchan Milne) wrote: > On Monday 05 January 2009 19:56:03 omkar wrote: > > > hi all, > > I am trying to write one tool, that could find the all available dc > > values. > > You should pose your problem more precisely. E.g., maybe you would prefer to >

Re: Need help to search all dc's available

2009-01-06 Thread Buchan Milne
On Monday 05 January 2009 19:56:03 omkar wrote: > hi all, > I am trying to write one tool, that could find the all available dc > values. You should pose your problem more precisely. E.g., maybe you would prefer to find the DC values for all entries of objectclass domain? > see example: > -> bas