Coder Social home page Coder Social logo

Comments (3)

xet7 avatar xet7 commented on June 28, 2024

There is Azure AD docs for OIDC:
https://github.com/wekan/wekan/wiki/Azure

But I don't know is there for LDAP yet.

Anyway, if your AD supports OIDC, it's easier to configure it, because there is less settings.

from ldap.

JBBERLIN avatar JBBERLIN commented on June 28, 2024

Yes I read this wiki doc too, but I have a simple AD.
For the test I setup a internal test domain but no luck with user login or sync(I first try login only)

Active Directory Domain: ad.mydomian.com (DC=ad,DC=mydomain,DC=com)
NETBIOS DOMAIN: MYDOMAIN
DC1: 192.168.0.1
DC2: 192.168.0.2

All service account (with the domain bind account) are in OU=SERVICE,DC=ad,DC=mydomain,DC=com
All user are in OU=USROU,DC=ad,DC=mydomain,DC=com
The bind user: CN=bindadmin,OU=SERVICE,DC=ad,DC=mydomain,DC=com

No groups or else, and the binduser is a copy of the standard Administrator account.

Very simple AD LDAP for finding the bug, but no chance.

Here the log:
Apr 2 17:50:25 todo wekan.wekan: [INFO] LDAP connected
Apr 2 17:50:25 todo wekan.wekan: [INFO] Binding UserDN "CN=bindadmin,OU=SERVICE,DC=ad,DC=mydomain,DC=com"
Apr 2 17:50:25 todo wekan.wekan: [INFO] Searching user "user1"
Apr 2 17:50:25 todo wekan.wekan: [DEBUG] searchOptions {
Apr 2 17:50:25 todo wekan.wekan: "filter": "(&(sAMAccountName=[username])(sAMAccountName=user1))",
Apr 2 17:50:25 todo wekan.wekan: "scope": "sub",
Apr 2 17:50:25 todo wekan.wekan: "sizeLimit": 0
Apr 2 17:50:25 todo wekan.wekan: }
Apr 2 17:50:25 todo wekan.wekan: [DEBUG] BaseDN "dc=ad,dc=mydomain,dc=com"
Apr 2 17:50:25 todo wekan.wekan: [INFO] Search result count
Apr 2 17:50:25 todo wekan.wekan: [INFO] Search returned
Apr 2 17:50:25 todo wekan.wekan: [ERROR] Error: User not Found
Apr 2 17:50:25 todo wekan.wekan: [INFO] Fallback to default account system: {
Apr 2 17:50:25 todo wekan.wekan: "username": "user1"
Apr 2 17:50:25 todo wekan.wekan: }
Apr 2 17:50:25 todo wekan.wekan: [DEBUG] Fallback options: {
Apr 2 17:50:25 todo wekan.wekan: "user": {
Apr 2 17:50:25 todo wekan.wekan: "username": "user1"
Apr 2 17:50:25 todo wekan.wekan: },
Apr 2 17:50:25 todo wekan.wekan: "password": {
Apr 2 17:50:25 todo wekan.wekan: "digest": "3b32991d2f1b72a900e9e29e3a705e0d73668eedd93f542d5737889303a60682",
Apr 2 17:50:25 todo wekan.wekan: "algorithm": "sha-256"
Apr 2 17:50:25 todo wekan.wekan: }
'

from ldap.

nerminator avatar nerminator commented on June 28, 2024

Did you solve your problem? I have similar problems during Wekan LDAP configuration and using an LDAP browser ( softtera or other LDAP browser) helped me to solve my problem. Are you sure that your users exist under OU=SERVICE ? In my case it was OU=User. But it changes according to your setup so that is why you need to look at your own LDAP structure with browser.
After that, you have to tell Wekan which field in your LDAP can Wekan use as username , which field for the search field etc.

from ldap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.