wekan / ldap

LDAP support for Wekan code has been moved to https://github.com/wekan/wekan/tree/master/packages/wekan-ldap , issues to https://github.com/wekan/wekan/issues , and if PRs are needed please add them instead to https://github.com/wekan/wekan/pulls
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
MIT License
12 stars 10 forks source link

Ldap authentication is not working #63

Open thiagotank opened 5 years ago

thiagotank commented 5 years ago

Dear, I can not sync users who do not have my ActiveDirectory Can you help me in any way?

If you need more information, let me know

Did you test in newest Wekan?: Yes

Config

Key Value caddy-enabled true ldap-authentication true ldap-authentication-password kasXXX@2016 ldap-authentication-userdn CN="user",OU=Usuarios-Admins,DC=x,DC=dom ldap-basedn OU=Usuarios-Admins,DC=x,DC=dom ldap-connect-timeout 10000 ldap-enable true ldap-fullname-field CN=Organizational-Unit,CN=Schema,CN=Configuration,DC=X,DC=dom ldap-host barueri10.X.dom ldap-internal-log-level debug ldap-log-enable true ldap-login-fallback true ldap-merge-existing-users true ldap-port 389 ldap-reconnect true ldap-sync-user-data-fieldmap {...} ldap-timeout 10000 ldap-username-field uid mail-from Wekan Orizon noreply@X.com.br mail-url smtp://smtpprod.X.local port 80 root-url http://wekan.X.local

Log Error

2018-11-23T13:14:44Z wekan.wekan[5577]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15) 2018-11-23T13:14:44Z wekan.wekan[5577]: at Object._failIfArgumentsAreNotAllChecked (packages/check.js:127:41) 2018-11-23T13:14:44Z wekan.wekan[5577]: at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1765:18) 2018-11-23T13:14:44Z wekan.wekan[5577]: at DDP._CurrentPublicationInvocation.withValue (packages/ddp-server/livedata_server.js:1043:15) 2018-11-23T13:14:44Z wekan.wekan[5577]: at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1186:15) 2018-11-23T13:14:44Z wekan.wekan[5577]: at Subscription._runHandler (packages/ddp-server/livedata_server.js:1041:51) 2018-11-23T13:14:44Z wekan.wekan[5577]: at Session._startSubscription (packages/ddp-server/livedata_server.js:859:9) 2018-11-23T13:14:44Z wekan.wekan[5577]: at Session.sub (packages/ddp-server/livedata_server.js:625:12) 2018-11-23T13:14:44Z wekan.wekan[5577]: at packages/ddp-server/livedata_server.js:559:43 2018-11-23T13:14:44Z wekan.wekan[5577]: Sanitized and reported to the client as: Match failed [400]

xet7 commented 5 years ago

If you don't use https with Let's Encrypt and Caddy, you do not need caddy.

sudo snap set wekan caddy-enabled='false'

sudo snap set wekan port='80'

sudo snap set wekan root-url='http://wekan.X.local'

sudo snap set wekan ldap-enable='true'

sudo snap set wekan default-authentication-method='ldap'