Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP 52e error (snap) #52

Open
LemonEistee opened this issue Jun 25, 2019 · 2 comments
Open

LDAP 52e error (snap) #52

LemonEistee opened this issue Jun 25, 2019 · 2 comments

Comments

@LemonEistee
Copy link

Hello, I have installed and configured the snap for wekan before a few days.

It all works fine except from LDAP.
There I get to following error

2019-06-25T05:43:38Z wekan.wekan[32431]: [INFO] Init LDAP login "test\lemoneistee"
2019-06-25T05:43:38Z wekan.wekan[32431]: [WARN] Lookup for unset variable: INTERNAL_LOG_LEVEL
2019-06-25T05:43:38Z wekan.wekan[32431]: [WARN] Lookup for unset variable: LDAP_USER_ATTRIBUTES
2019-06-25T05:43:38Z wekan.wekan[32431]: [INFO] Init setup
2019-06-25T05:43:38Z wekan.wekan[32431]: [INFO] Connecting "ldap://192.168.10.1:389"
2019-06-25T05:43:38Z wekan.wekan[32431]: [DEBUG] connectionOptions{ url: 'ldap://192.168.10.1:389',
2019-06-25T05:43:38Z wekan.wekan[32431]: timeout: 10000,
2019-06-25T05:43:38Z wekan.wekan[32431]: connectTimeout: 10000,
2019-06-25T05:43:38Z wekan.wekan[32431]: idleTimeout: 10000,
2019-06-25T05:43:38Z wekan.wekan[32431]: reconnect: true,
2019-06-25T05:43:38Z wekan.wekan[32431]: log:
2019-06-25T05:43:38Z wekan.wekan[32431]: Logger {
2019-06-25T05:43:38Z wekan.wekan[32431]: domain: null,
2019-06-25T05:43:38Z wekan.wekan[32431]: _events: {},
2019-06-25T05:43:38Z wekan.wekan[32431]: _eventsCount: 0,
2019-06-25T05:43:38Z wekan.wekan[32431]: _maxListeners: undefined,
2019-06-25T05:43:38Z wekan.wekan[32431]: _level: 30,
2019-06-25T05:43:38Z wekan.wekan[32431]: streams: [ [Object] ],
2019-06-25T05:43:38Z wekan.wekan[32431]: serializers: null,
2019-06-25T05:43:38Z wekan.wekan[32431]: src: false,
2019-06-25T05:43:38Z wekan.wekan[32431]: fields:
2019-06-25T05:43:38Z wekan.wekan[32431]: { name: 'ldapjs',
2019-06-25T05:43:38Z wekan.wekan[32431]: component: 'client',
2019-06-25T05:43:38Z wekan.wekan[32431]: hostname: 'wekan',
2019-06-25T05:43:38Z wekan.wekan[32431]: pid: 805 } } }
2019-06-25T05:43:38Z wekan.wekan[32431]: [INFO] LDAP connected
2019-06-25T05:43:38Z wekan.wekan[32431]: [ERROR] InvalidCredentialsError: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580
2019-06-25T05:43:38Z wekan.wekan[32431]:
2019-06-25T05:43:48Z wekan.wekan[32431]: [INFO] Idle
2019-06-25T05:43:48Z wekan.wekan[32431]: [INFO] Disconecting
2019-06-25T05:43:48Z wekan.wekan[32431]: [INFO]

I have read that 52e means wrong password, but the password is 100% correct. I have set up ldap on some other ubuntu server and it works fine with the same user and password (and of curse the user is in the right basedn)

Here are my current configurations

ldap-enable: true ldap-port: 389 ldap-host: AD01 ldap-basedn: 192.168.10.1 ldap-reconnect: true ldap-authentication: true ldap-authentication-userdn: ldap ldap-authentication-password: example ldap-background-sync: true ldap-user-authentication: true ldap-username-field: sAMAccountName default-authentication-method: ldap ldap-default-domain: test.local

@LemonEistee
Copy link
Author

My version

image

@rholighaus
Copy link

rholighaus commented Sep 17, 2019

I have the same issue with wekan 3.43 - and have not managed to see any additional debugging information.

I have the following settings:

debug true default-authentication-method ldap internal-log-level debug ldap-authentication true ldap-background-sync true ldap-basedn OU=User,DC=ourdomain,DC=local ldap-default-domain ourdomain.com ldap-email-field mail ldap-enable true ldap-fullname-field cn ldap-host 192.168.1.6 ldap-internal-log-level debug ldap-log-enable true ldap-log-enabled true ldap-port 3268 ldap-search-field sAMAccountName ldap-sync-user-data-fieldmap {...} ldap-user-authentication true ldap-user-authentication-field sAMAccountName ldap-user-search-field sAMAccountName ldap-username-field sAMAccountName loglevel debug

@xet7 xet7 transferred this issue from wekan/wekan Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants