diff options
author | Ermal Luçi <eri@pfsense.org> | 2010-02-25 17:05:06 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2010-02-25 17:05:06 +0000 |
commit | 18011fb964c59ebaee4444ebd50040e73820ef49 (patch) | |
tree | ddc127a89dea96724d051527e2b667ba87cf93e7 /etc/inc/openvpn.auth-ldap.php | |
parent | b5f3549ff36ee3d5bb33d84d7a08b59a6413a53b (diff) | |
download | pfsense-18011fb964c59ebaee4444ebd50040e73820ef49.zip pfsense-18011fb964c59ebaee4444ebd50040e73820ef49.tar.gz |
Add missing curley.
Diffstat (limited to 'etc/inc/openvpn.auth-ldap.php')
-rwxr-xr-x | etc/inc/openvpn.auth-ldap.php | 2 |
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); |