2
0
Эх сурвалжийг харах

- Try to fix: Impossible to connect to LDAP if UserDN contain space(s) #1970

Thanks to Akuket and xet7 !
Lauri Ojansivu 6 жил өмнө
parent
commit
05b9e825bb

+ 1 - 1
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

+ 1 - 1
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