What type of AD account do I need to bind to AD root directory using C#?
Posted on 2014-12-16
System people gave me an AD admin account. I used that in my code to bind serverlessly to rootDse but I'm getting log error. Saying my userid and password is unknown. Is there a special AD account I would need to bind to the rootDse?
DirectoryEntry deRoot = new DirectoryEntry("LDAP://rootDSE", "admin_id", "somePassword!");
Also for serverless binding, can I specify a domain to bind to?