Hi everybody,

I have the following problem. I wish to search for all users and groups in a Microsoft Active Directory Service using the LDAP interface of such service with a Perl script. I have some experience using Net::LDAP so I wish to query the AD in the same way I do with a LDAP server. MS says that AD fully support LDAP v3 but I'm having a lot of problems for accesing the AD.
I'm using an authenticated request with the user administrator of the Windows box:


cn=Administrator,cn=Users,dc=mydomain,dc=com

The base of the directory is:

cn=Users,dc=mydomain,dc=com

This works fine. I have no error and I can connect to the server, but when I try a search with a filter:

objectClass=User

I have no answer from the server. All I have is an empty string.

I have look at Internet and do some Google work even in the history files of the list but I have no clues. Can you help me, please. Any comment will be wellcome.

Best regards,

Erik




Reply via email to