Added Comments
This commit is contained in:
parent
3c63025a15
commit
048b468ba5
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,7 @@ abstract class AuthController extends Controller
|
|||
return null;
|
||||
}
|
||||
$ldapEntry = ldap_first_entry($server, $$ldapSearchResp);
|
||||
//Returns full DN
|
||||
$bindString = ldap_get_dn($server, $ldapEntry);
|
||||
|
||||
|
||||
|
@ -106,6 +107,7 @@ abstract class AuthController extends Controller
|
|||
if ($this->config['ldap']['base_domain'] !== null) {
|
||||
$bindString .= ','.$this->config['ldap']['base_domain'];
|
||||
}
|
||||
//returns partial DN
|
||||
}
|
||||
|
||||
return $bindString;
|
||||
|
|
Loading…
Add table
Reference in a new issue