LDAP Saying username/password incorrect

Neil McGuire's Avatar

Neil McGuire

26 Feb, 2013 08:07 PM

I set up LDAP against my Windows Server 2008 R2 DC, using distinguished name, password, and base ou that work in LDAPExplorer2.exe, but get the following error:

[DirectoryServicesCOMException (0x8007052e): The user name or password is incorrect. ] System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +387793 System.DirectoryServices.DirectoryEntry.Bind() +36 System.DirectoryServices.DirectoryEntry.get_SchemaEntry() +33 System.DirectoryServices.AccountManagement.ADStoreCtx.IsContainer(DirectoryEntry de) +48 System.DirectoryServices.AccountManagement.ADStoreCtx..ctor(DirectoryEntry ctxBase, Boolean ownCtxBase, String username, String password, ContextOptions options) +116 System.DirectoryServices.AccountManagement.PrincipalContext.CreateContextFromDirectoryEntry(DirectoryEntry entry) +144 System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInit() +247

Any thoughts or recommendations as to permissions needed? Adding the user to Domain Admins did not help.

  1. Support Staff 1 Posted by Anton Gogolev on 28 Feb, 2013 11:51 AM

    Anton Gogolev's Avatar

    Neil,

    I don't really know what LDAPExplorer2 is, but could you please double-check if the user has the "List Contents" permission?

  2. Anton Gogolev closed this discussion on 22 Aug, 2013 07:55 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

12 Jan, 2023 12:25 PM
10 Jan, 2023 04:49 PM
03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM

 

21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM
18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM