Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

ldp - bind with credentials fails on instance of AD LDS

$
0
0

I have a stand alone instance of LDS running on a machine that is not part of a domain.  I am running ldp.exe on the same machine.  When I use ldp.exe to do a simple bind with credentials (using my DN), I get the following error:

0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)

res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3

{NtAuthIdentity: User='CN=MrX,CN=Users,O=Microsoft,C=US'; Pwd=<unavailable>; domain = ''}

Error <82>: ldap_bind_s() failed: Local Error.

Server error:

Also, the Bind dialog box does ask for a domain which I leave blank because the machine is not on a domain.

-----------

If I try to do a simple bind with credentials (using the name of the user, MrX) I get the following error:

0 = ldap_set_option(ld, LDAP_OPT_ENCRYPT, 0)

res = ldap_bind_s(ld, NULL, &NtAuthIdentity, NEGOTIATE (1158)); // v.3

{NtAuthIdentity: User='MrX'; Pwd=<unavailable>; domain = ''}

Error <49>: ldap_bind_s() failed: Invalid Credentials.

Server error: 80090308: LdapErr: DSID-0C0904D0, comment: AcceptSecurityContext error, data 57, v1db0

Error 0x80090308 The token supplied to the function is invalid

-----------

I can do a simple bind without a pw for a successful anonymous login.

I can do a simple bind with a pw  for a successful authentication as my DN.

How can I bind with credentials? and how is this different than a simple bind (where I also enter pw)?

Thanks


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>