2

I have two forests (example.local and accounting.local) that have 2-way trust established. On accounting, I can bind using accounting\bind. However, it fails from example.local

ldap_bind: Invalid credentials (49) additional info: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580

I also have a child domain for example.local and I can bind using the credentials from the child on example.local. Tried various forms of naming, baseDN, global vs dc. Thanks much

1 Answer 1

1

I tried it here and had the same result. According to the Microsoft documentation for ldap_simple_bind:

The ldap_simple_bind function is designed to bind to the local domain. The function cannot be used for cross forest authentication.

You will need to use a different (synchronous) bind method to cross forests. See the ldap_bind_s docs for more details.

3
  • I am using UnboundId Java client from Linux which I believe is synchronous. I could not get this to work with adsi edit either. Sep 10, 2018 at 23:56
  • It's not enough for the call to be synchronous. I just mean that all of the other bind methods (besides simple) must be called synchronously. I tested this with ldp.exe and cross-domain logon works with other methods (eg Bind with credentials).
    – fission
    Sep 11, 2018 at 20:55
  • For this scenario with UnboundID LDAP, you should use SASL.
    – fission
    Sep 11, 2018 at 20:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .