Coder Social home page Coder Social logo

Comments (5)

xet7 avatar xet7 commented on June 28, 2024 2

@alkemyst

I will add default empty setting to next Wekan release.

from ldap.

xet7 avatar xet7 commented on June 28, 2024

@alkemyst

How did you configure CN to fullname at #10 at that I included in newest release of Wekan ?

Should it have some default value in Snap config and Snap help and Wekan repo's Dockerfile + docker-compose.yml etc?

Can you add those?

from ldap.

alkemyst avatar alkemyst commented on June 28, 2024

Well, unfortunately I do not know any ldap database other than our own. For our database the LDAP_FULLNAME_FIELD is "displayName"
I am not familiar with snap, but if you point me to the right file I can add it. In any case I would tend to avoid setting it by default, as it might not match with the users LDAP server

from ldap.

loic74 avatar loic74 commented on June 28, 2024

First of all, I would like to apologize because I am not a developer. Maybe there's something obvious that I don't see...

I added this in Wekan config (displayName is our fullname field too):
ldap-sync-user-data-fieldmap = '{\"cn\":\"displayName\", \"mail\":\"mail\"}'
ldap-fullname-field = 'displayName'

I don't see any setting to add after reading the documentation.

Here's my complete configuration:

ldap-authentication            true
ldap-authentication-password   *********
ldap-authentication-userdn     CN=ldap,CN=users,DC=c3r,DC=local
ldap-basedn                    DC=c3r,DC=local
ldap-connect-timeout           10000
ldap-enable                    true
ldap-fullname-field            displayName
ldap-host                      192.168.0.3
ldap-idle-timeout              10000
ldap-log-enabled               true
ldap-merge-existing-users      true
ldap-port                      389
ldap-reconnect                 true
ldap-sync-user-data-fieldmap   {\"cn\":\"displayName\", \"mail\":\"mail\"}
ldap-timeout                   10000
ldap-user-search-field         sAMAccountName
ldap-user-search-filter        objectClass=*
ldap-userdn                    CN=ldap,CN=users,DC=c3r,DC=local
ldap-username-field            sAMAccountName
mail-from                      Wekan@********.com
mail-url                       smtp://192.168.3.89:25/
mongodb-bind-ip                0.0.0.0
mongodb-bind-unix-socket       /var/snap/wekan/current/share/
mongodb-port                   27019
port                           8181
root-url                       http://192.168.0.6:8181

By the way: how to remove wrong parameters entered ? (I had entered for example ldap-search-field instead of ldpa-user-search-field)

Thank you very much for your help.

from ldap.

alkemyst avatar alkemyst commented on June 28, 2024

I have to apologize: I introduced the regression, apparently. In order to avoid error it is necessary that the LDAP_FULLNAME_FIELD is set. If it's set to an empty value, it's fine @xet7 : is that already the case with the new builds?

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.