diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-10-25 12:38:30 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-10-25 12:38:30 +0300 |
commit | 05b9e825bb15f56cb25836da89e227865bcc94b5 (patch) | |
tree | 237831aff9094f08fb89713e67bc120a4a3a9e8e | |
parent | 187b4632e64f3a44e6496cb904432598f291641a (diff) | |
download | wekan-05b9e825bb15f56cb25836da89e227865bcc94b5.tar.gz wekan-05b9e825bb15f56cb25836da89e227865bcc94b5.tar.bz2 wekan-05b9e825bb15f56cb25836da89e227865bcc94b5.zip |
- Try to fix: Impossible to connect to LDAP if UserDN contain space(s) #1970
Thanks to Akuket and xet7 !
-rw-r--r-- | server/authentication.js | 2 | ||||
-rwxr-xr-x | snap-src/bin/wekan-read-settings | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/authentication.js b/server/authentication.js index 6310e8df..1d3b1eca 100644 --- a/server/authentication.js +++ b/server/authentication.js @@ -63,7 +63,7 @@ Meteor.startup(() => { }; if (Meteor.isServer) { - + console.log(process.env.LDAP_AUTHENTIFICATION_USERDN); if(process.env.OAUTH2_CLIENT_ID !== '') { ServiceConfiguration.configurations.upsert( // eslint-disable-line no-undef diff --git a/snap-src/bin/wekan-read-settings b/snap-src/bin/wekan-read-settings index f216c2a8..5370c554 100755 --- a/snap-src/bin/wekan-read-settings +++ b/snap-src/bin/wekan-read-settings @@ -15,7 +15,7 @@ do export $key=${!default_value} else echo -e "$key=$value" - export $key=$value + export $key="$value" fi done |