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

Can't sync LDAP when user already exist #79

Open
savin-msk opened this issue Apr 6, 2020 · 0 comments
Open

Can't sync LDAP when user already exist #79

savin-msk opened this issue Apr 6, 2020 · 0 comments

Comments

@savin-msk
Copy link

savin-msk commented Apr 6, 2020

I setup LDAP sync with OpenLDAP. Before that i have created user with same e-mail. During sync i have error:

[DEBUG] Identifying user with: uid
Apr 06 16:00:00 git wekan.wekan[2951]: [DEBUG] Identifying user with: uid
Apr 06 16:00:00 git wekan.wekan[2951]: [DEBUG] New user data {
Apr 06 16:00:00 git wekan.wekan[2951]:   "username": "user",
Apr 06 16:00:00 git wekan.wekan[2951]:   "email": "[email protected]"
Apr 06 16:00:00 git wekan.wekan[2951]: }
Apr 06 16:00:00 git wekan.wekan[2951]: [ERROR] Error creating user {
Apr 06 16:00:00 git wekan.wekan[2951]:   "isClientSafe": true,
Apr 06 16:00:00 git wekan.wekan[2951]:   "error": 403,
Apr 06 16:00:00 git wekan.wekan[2951]:   "reason": "Email already exists.",
Apr 06 16:00:00 git wekan.wekan[2951]:   "message": "Email already exists. [403]",
Apr 06 16:00:00 git wekan.wekan[2951]:   "errorType": "Meteor.Error"
Apr 06 16:00:00 git wekan.wekan[2951]: }
Apr 06 16:00:00 git wekan.wekan[2951]: [DEBUG] Identifying user with: uid
Apr 06 16:00:00 git wekan.wekan[2951]: [ERROR] Error: LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain
Apr 06 16:00:00 git wekan.wekan[2951]: Exception in callback of async function: errorClass [Error]: LDAP Authentication succeded, there is no email to create an accou
Apr 06 16:00:00 git wekan.wekan[2951]:     at addLdapUser (packages/wekan-ldap/server/sync.js:275:19)
Apr 06 16:00:00 git wekan.wekan[2951]:     at packages/wekan-ldap/server/sync.js:360:9
Apr 06 16:00:00 git wekan.wekan[2951]:     at Array.forEach (<anonymous>)
Apr 06 16:00:00 git wekan.wekan[2951]:     at packages/wekan-ldap/server/sync.js:327:15
Apr 06 16:00:00 git wekan.wekan[2951]:     at runWithEnvironment (packages/meteor.js:1286:24) {
Apr 06 16:00:00 git wekan.wekan[2951]:   isClientSafe: true,
Apr 06 16:00:00 git wekan.wekan[2951]:   error: 'LDAP-login-error',
Apr 06 16:00:00 git wekan.wekan[2951]:   reason: 'LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in
Apr 06 16:00:00 git wekan.wekan[2951]:   details: undefined,
Apr 06 16:00:00 git wekan.wekan[2951]:   message: 'LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in
Apr 06 16:00:00 git wekan.wekan[2951]:   errorType: 'Meteor.Error'
Apr 06 16:00:00 git wekan.wekan[2951]: }
Apr 06 16:01:00 git wekan.wekan[2951]: {"line":"87","file":"percolate_synced-cron.js","message":"SyncedCron: Starting \"LDAP_Sync\".","time":{"$date":1586178060008},"
Apr 06 16:01:00 git wekan.wekan[2951]: [WARN] Lookup for unset variable: INTERNAL_LOG_LEVEL
Apr 06 16:01:00 git wekan.wekan[2951]: [WARN] Lookup for unset variable: LDAP_USER_ATTRIBUTES```
    
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

1 participant