wstrange / dartdap

DART LDAP Client
BSD 2-Clause "Simplified" License
20 stars 14 forks source link

Invalid credentials80090308 #52

Closed Idika-alph-atec-concept-limited closed 2 years ago

Idika-alph-atec-concept-limited commented 2 years ago

I got below error when I used below parameters for user:

var base = 'OU=User managed structure,DC=example,DC=com'; var filter = Filter.present('objectClass'); var attrs = ['dn', 'objectClass']; var host = '10.1.x.x'; var bindDN = 'user@example.com'; var password = 'xxxxxxxx';

I/flutter ( 5182): 2022-07-06 12:15:22.111084: ldap.connection: FINE: open: ldaps://10.1.x.x:636 I/flutter ( 5182): 2022-07-06 12:15:22.395495: ldap.connection: FINE: bind:user@example.com I/flutter ( 5182): 2022-07-06 12:15:22.417084: ldap.send.ldap: FINE: [2] Sending LDAP message: Msg(id=2, op=BND_REQ,controls=Seq[]) I/flutter ( 5182): 2022-07-06 12:15:22.491050: ldap.recv.bytes: FINE: received: 110 I/flutter ( 5182): 2022-07-06 12:15:22.493336: ldap.recv.asn1: FINE: ASN.1 object received: tag=48, length=104 I/flutter ( 5182): 2022-07-06 12:15:22.503237: ldap.recv.ldap: FINE: LDAP message received: Id=2 protocolOp=Seq[ASN1Integer(49) OctetString() OctetString(80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580 I/flutter ( 5182): 2022-07-06 12:15:22.516687: ldap.send.ldap: FINE: LDAP request serviced: Msg(id=2, op=BND_REQ,controls=Seq[]) (99 ms) I/flutter ( 5182): ***** Exception: Invalid credentials80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580 I/flutter ( 5182): Closing I/flutter ( 5182): 2022-07-06 12:15:22.524353: ldap.connection: FINE: close I/flutter ( 5182): 2022-07-06 12:15:22.533008: ldap.connection: FINE: socket stream closed

wstrange commented 2 years ago

Is that bind user and password correct? Have you tried to bind with those credentials from another ldap client (for example, use ldapsearch cli)

wstrange commented 2 years ago

closing due to lack of activity