summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-09-29 23:53:14 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-10-17 19:13:14 +0200
commit8290929aa6fcb1e62e79d7acf8bf310c8d6f94d7 (patch)
tree5c688ce66b447650c661c97344fcd82f79ec0512 /apps/user_ldap/lib/ldap.php
parent7c60384f20a1f5b9dea2288d8b39c5f556b4348f (diff)
downloadnextcloud-server-8290929aa6fcb1e62e79d7acf8bf310c8d6f94d7.tar.gz
nextcloud-server-8290929aa6fcb1e62e79d7acf8bf310c8d6f94d7.zip
LDAP Wizard: autodetect base DN
Diffstat (limited to 'apps/user_ldap/lib/ldap.php')
-rw-r--r--apps/user_ldap/lib/ldap.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/ldap.php b/apps/user_ldap/lib/ldap.php
index b63e969912a..13314462b8c 100644
--- a/apps/user_ldap/lib/ldap.php
+++ b/apps/user_ldap/lib/ldap.php
@@ -49,6 +49,10 @@ class LDAP implements ILDAPWrapper {
$isCritical, $cookie);
}
+ public function countEntries($link, $result) {
+ return $this->invokeLDAPMethod('count_entries', $link, $result);
+ }
+
public function errno($link) {
return $this->invokeLDAPMethod('errno', $link);
}