Browse Source

Added Comments

Ben Tyger 4 years ago
parent
commit
048b468ba5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Controllers/Auth/AuthController.php

+ 2 - 0
app/Controllers/Auth/AuthController.php

@@ -93,6 +93,7 @@ abstract class AuthController extends Controller
                 return null;
                 return null;
             }
             }
             $ldapEntry = ldap_first_entry($server, $$ldapSearchResp);
             $ldapEntry = ldap_first_entry($server, $$ldapSearchResp);
+            //Returns full DN
             $bindString = ldap_get_dn($server, $ldapEntry);
             $bindString = ldap_get_dn($server, $ldapEntry);
             
             
             
             
@@ -106,6 +107,7 @@ abstract class AuthController extends Controller
             if ($this->config['ldap']['base_domain'] !== null) {
             if ($this->config['ldap']['base_domain'] !== null) {
                 $bindString .= ','.$this->config['ldap']['base_domain'];
                 $bindString .= ','.$this->config['ldap']['base_domain'];
             }
             }
+            //returns partial DN
         }
         }
         
         
         return $bindString;
         return $bindString;