Files
wekan/docs/Features/Login/LDAP-AD-Simple-Auth.md
T
Lauri Ojansivu c4cb87345b Reorganize documentation and repair links.
Move feature and webserver documentation into the reorganized hierarchy, update references to their new relative paths, and extend link validation across the complete documentation tree.\n\nThanks to xet7 !
2026-08-17 00:24:38 +03:00

3.0 KiB

- LDAP_USER_SEARCH_FILTER=(objectClass=user)
- LDAP_EMAIL_FIELD=mail

Docker

Uncomment settings lines this wasy at docker-compose.yml to enable:

      #-----------------------------------------------------------------
      # ==== LDAP AD Simple Auth ====
      #
      # Set to true, if you want to connect with Active Directory by Simple Authentication.
      # When using AD Simple Auth, LDAP_BASEDN is not needed.
      #
      # Example:
      #- LDAP_AD_SIMPLE_AUTH=true
      #
      # === LDAP User Authentication ===
      #
      # a) Option to login to the LDAP server with the user's own username and password, instead of
      #    an administrator key. Default: false (use administrator key).
      #
      # b) When using AD Simple Auth, set to true, when login user is used for binding,
      #    and LDAP_BASEDN is not needed.
      #
      # Example:
      #- LDAP_USER_AUTHENTICATION=true
      #
      # Which field is used to find the user for the user authentication. Default: uid.
      #- LDAP_USER_AUTHENTICATION_FIELD=uid
      #
      # === LDAP Default Domain ===
      #
      # a) In case AD SimpleAuth is configured, the default domain is appended to the given
      #    loginname for creating the correct username for the bind request to AD.
      #
      # b) The default domain of the ldap it is used to create email if the field is not map
      #     correctly with the LDAP_SYNC_USER_DATA_FIELDMAP
      #
      # Example :
      #- LDAP_DEFAULT_DOMAIN=mydomain.com
      #
      #-----------------------------------------------------------------

Snap

Wekan, enable:

sudo snap set wekan ldap-ad-simple-auth='true'

sudo snap set wekan ldap-user-authentication='true'

sudo snap set wekan ldap-default-domain='mydomain.com'

Wekan, disable:

sudo snap unset wekan ldap-ad-simple-auth

sudo snap unset wekan ldap-user-authentication

sudo snap unset wekan ldap-default-domain

Wekan Gantt GPL, enable:

sudo snap set wekan-gantt-gpl ldap-ad-simple-auth='true'

sudo snap set wekan-gantt-gpl ldap-user-authentication='true'

sudo snap set wekan-gantt-gpl ldap-default-domain='mydomain.com'

Wekan Gantt GPL, disable:

sudo snap unset wekan-gantt-gpl ldap-ad-simple-auth

sudo snap unset wekan-gantt-gpl ldap-user-authentication

sudo snap unset wekan-gantt-gpl ldap-default-domain