Question : What LDAP path should be for the following Active Directory domain?

Hi, I'm authenticate users against Active Directory but I do not know that the LDAP path should be, here is the AD domain: xxxx.uncg.edu

Answer : What LDAP path should be for the following Active Directory domain?


It would only work if the code was running on a Domain Controller, is that likely to be the case?

If not there are a number of possibilities:

1. If the system running the code belongs to the domain you can use serverless binding ("LDAP://" + _path).
2. Hard-code a directory server to use (the domain name would work as a properly configured AD domain should have that resolve to the IP addresses for all domain controllers).

Chris
Random Solutions  
 
programming4us programming4us