Skip to content

Commit

Permalink
Syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
craig552uk committed Jan 15, 2011
1 parent f9b7d6c commit 8e57259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-ldap.php
Expand Up @@ -63,7 +63,7 @@ function my_ldap_search($conn, $search_filter){
function my_ldap_authenticate($conn, $username, $password){
global $ldap_server;

$username str_replace('*', '', $username);
$username = str_replace('*', '', $username);

$search_result = ldap_get_entries($conn, ldap_search($conn, $ldap_server['base_dn'], $ldap_server['username_attribute']."=".$username, array('dn', $ldap_server['token_attribute'])));

Expand Down

0 comments on commit 8e57259

Please sign in to comment.