svalavuo 6 dní pred
rodič
commit
3e1c379f2e
2 zmenil súbory, kde vykonal 2 pridanie a 6 odobranie
  1. 2 2
      README.md
  2. 0 4
      includes/ldap.php

+ 2 - 2
README.md

@@ -72,7 +72,7 @@ When running the setup script, you can enable LDAP authentication by checking th
 
 #### Active Directory
 ```
-LDAP Server Host: ad.example.com
+LDAP Server Host: ldap://ad.example.com
 LDAP Port: 389
 LDAP Base DN: dc=example,dc=com
 User Search Filter: (sAMAccountName={username})
@@ -82,7 +82,7 @@ Name Attribute: cn
 
 #### OpenLDAP
 ```
-LDAP Server Host: ldap.example.com
+LDAP Server Host: ldap://ldap.example.com
 LDAP Port: 389
 LDAP Base DN: ou=users,dc=example,dc=com
 User Search Filter: (uid={username})

+ 0 - 4
includes/ldap.php

@@ -222,10 +222,6 @@ class LDAPAuth {
                 throw new Exception('LDAP search failed');
             }
             
-            // Use pagination for large result sets
-if (function_exists('ldap_control_paged_result')) {
-    ldap_control_paged_result($this->connection, $limit);
-}
             $entries = ldap_get_entries($this->connection, $search);
             
             $users = [];