Commit da791058 authored by David Hawes's avatar David Hawes
Browse files

Return no attributes.

parent 39629290
......@@ -18,7 +18,7 @@ if (isset($pid) && $pid != '' && isset($credential)) {
print('Could not start TLS');
} else if (isset($ldap) && $ldap != '') {
/* search for pid dn */
$result = @ldap_search($ldap, $baseDn, $userfield.'='.$pid, array('dn'));
$result = @ldap_search($ldap, $baseDn, $userfield.'='.$pid, array('1.1'));
if ($result != 0) {
$entries = ldap_get_entries($ldap, $result);
$principal = $entries[0]['dn'];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment