For some reason, ldap and directory services do not work when the computer is not connected to a domain. Error messages from .net are not available for the domain. Does anyone know what needs to be done?
main...
domainAndUsername = domain + @"\" + username;
entry = new DirectoryEntry(_path, domainAndUsername, pwd);
entry.AuthenticationType = FindAuthTypeMicrosoft(authType);
... doesn't seem to work when logging in locally when trying to put testdomain.com on the code above.
Even if I can ping testdomain.com without any problems. What else or problem?
source
share