From 407df28a8df1ffea9ed86cb1bf891bace2a5035d Mon Sep 17 00:00:00 2001 From: fischerman Date: Sat, 30 Jan 2016 23:55:19 +0100 Subject: [PATCH] Fix typo in config --- configure-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-db.php b/configure-db.php index 8f4b53e..715c9d1 100644 --- a/configure-db.php +++ b/configure-db.php @@ -111,7 +111,7 @@ if(getenv('AUTH_METHOD') == "ldap") { $contents .= "define('LDAP_AUTH_USETLS', " . env("LDAP_AUTH_USETLS", "FALSE") . "); \n"; $contents .= "define('LDAP_AUTH_ALLOW_UNTRUSTED_CERT', " . env("LDAP_AUTH_ALLOW_UNTRUSTED_CERT", "TRUE") . ");\n"; $contents .= "define('LDAP_AUTH_BASEDN', '" . env("LDAP_AUTH_BASEDN") . "');\n"; - $contents .= "define('LDAP_AUTH_ANONYMOUSBEFOREBIND', " . env("LDAP_AUTH_ANONYMOUSBEFOREBIND", "FALSE") . ";\n"; + $contents .= "define('LDAP_AUTH_ANONYMOUSBEFOREBIND', " . env("LDAP_AUTH_ANONYMOUSBEFOREBIND", "FALSE") . ");\n"; // ??? will be replaced with the entered username(escaped) at login $contents .= "define('LDAP_AUTH_SEARCHFILTER', '" .env("LDAP_AUTH_SEARCHFILTER", "(&(objectClass=user)(sAMAccountName=???))") . "');\n"; $contents .= "define('LDAP_AUTH_BINDDN', '" . env("LDAP_AUTH_BINDDN") . "');\n";