I'm having an issue getting the user's full name from AD using the logon name. I found this thread
but it's erroring out giving me the Object not found on server error.
I checked the ldap string passed to GetObject and it is:
LDAP://CN=username,CN=Users,DC=domain,DC=local
where username = my username and domain = the domain name. It seems correct, but I get this:
Error: There is no such object on the server.
Which doesn't make sense. Could someone give me any suggestions? Thanks in advance.
but it's erroring out giving me the Object not found on server error.
I checked the ldap string passed to GetObject and it is:
LDAP://CN=username,CN=Users,DC=domain,DC=local
where username = my username and domain = the domain name. It seems correct, but I get this:
Error: There is no such object on the server.
Which doesn't make sense. Could someone give me any suggestions? Thanks in advance.