Reputation: 477
I use Java's LdapContext to authenticate to one AD server. It works well on Windows7 home basic,enterprise, professional version.But AD throws resultcode 49 when the client is running on Windows7 ultimate and Vista ultimate. What's wrong with these two operating system? And how I fix that?
Upvotes: 3
Views: 17330
Reputation: 2171
Error 49 is invalid credentials. It's a common mistake to use Windows logon name (e.g. JohnS) instead of LDAP DN (e.g. cn=John Smith, ou=Users, dc=example, dc=com). AD may also accept user principal name e.g. [email protected].
Upvotes: 4