diff --git a/LDAP-AD-Simple-Auth.md b/LDAP-AD-Simple-Auth.md new file mode 100644 index 0000000..74719fb --- /dev/null +++ b/LDAP-AD-Simple-Auth.md @@ -0,0 +1,54 @@ +[Original PR](https://github.com/wekan/wekan/pull/3909) + +When enabled, LDAP_BASEDN is not needed. Example: true + +## Snap + +Wekan, enable: +``` +sudo snap set wekan ldap-ad-simple-auth='true' + +sudo snap set wekan ldap-user-authentication='true' +``` +Wekan, disable: +``` +sudo snap unset wekan ldap-ad-simple-auth + +sudo snap unset wekan ldap-user-authentication +``` + +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' +``` +Wekan Gantt GPL, disable: +``` +sudo snap unset wekan-gantt-gpl ldap-ad-simple-auth + +sudo snap unset wekan-gantt-gpl ldap-user-authentication +``` + +## Docker + +Uncomment settings lines this wasy at [docker-compose.yml](https://github.com/wekan/wekan/blob/master/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. + - LDAP_AD_SIMPLE_AUTH=true + # + # 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). When using AD Simple Auth, set to true. + # Set to true, if the login user is used for binding. Used with AD Simple Auth. + # When using AD Simple Auth, LDAP_BASEDN is not needed. + - LDAP_USER_AUTHENTICATION=true + # + # Which field is used to find the user for the user authentication. Default: uid. + - LDAP_USER_AUTHENTICATION_FIELD=uid + # + #----------------------------------------------------------------- +```