summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-25 17:05:06 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-25 17:05:06 +0000
commit18011fb964c59ebaee4444ebd50040e73820ef49 (patch)
treeddc127a89dea96724d051527e2b667ba87cf93e7
parentb5f3549ff36ee3d5bb33d84d7a08b59a6413a53b (diff)
downloadpfsense-18011fb964c59ebaee4444ebd50040e73820ef49.zip
pfsense-18011fb964c59ebaee4444ebd50040e73820ef49.tar.gz
Add missing curley.
-rwxr-xr-xetc/inc/openvpn.auth-ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.auth-ldap.php b/etc/inc/openvpn.auth-ldap.php
index 280099d..37063c7 100755
--- a/etc/inc/openvpn.auth-ldap.php
+++ b/etc/inc/openvpn.auth-ldap.php
@@ -59,7 +59,7 @@ ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0);
ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
/* ok, its up. now, lets bind as the bind user so we can search it */
-if (!($res = @ldap_bind($ldap, "{$ldapuserattr={$username}{$ldapbasedn}", $password))) {
+if (!($res = @ldap_bind($ldap, "{$ldapuserattr}={$username}{$ldapbasedn}", $password))) {
syslog(LOG_WARNING, "user {$username} could not authenticate\n");
ldap_close($ldap);
exit(-3);
OpenPOWER on IntegriCloud