Hi,

We have a requirement to scan the network and detect the presence of a directory service.

If we find a directory service we need to ask the user for configuration parameters.

I'm using WinLDAP C++ libraries

As per my research, to connect and search for an LDAP complaint directory service we need the following information

a) Distinguished Name (Example -
"CN=Subnets,CN=Sites,CN=Configuration")

b) Domain Component (Example -
"DC=cts,DC=com")

a) A valid userid and password

We are querying Active directory, but we should be able to connect to other directory services like IBM trivoli, etc too.

What other configuration parameters are needed to connect to directory services?

Any info would be appreciated.