summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-02-04 17:56:53 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-02-10 11:28:38 +0100
commitbc17b40650875102521214d5f8b7580c3193b8df (patch)
tree4894e7bc6a5568e1d6b763cb595a02f9691357c1 /apps/user_ldap/lib/ldap.php
parent45d07906b84680685da31e97dcd102bbd932f047 (diff)
downloadnextcloud-server-bc17b40650875102521214d5f8b7580c3193b8df.tar.gz
nextcloud-server-bc17b40650875102521214d5f8b7580c3193b8df.zip
LDAP: extend LDAP wrapper search method for sizelimit, improves performance in wizard
Diffstat (limited to 'apps/user_ldap/lib/ldap.php')
-rw-r--r--apps/user_ldap/lib/ldap.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/ldap.php b/apps/user_ldap/lib/ldap.php
index dda8533c41f..a99c6480121 100644
--- a/apps/user_ldap/lib/ldap.php
+++ b/apps/user_ldap/lib/ldap.php
@@ -85,9 +85,9 @@ class LDAP implements ILDAPWrapper {
return $this->invokeLDAPMethod('read', $link, $baseDN, $filter, $attr);
}
- public function search($link, $baseDN, $filter, $attr) {
- return $this->invokeLDAPMethod('search', $link, $baseDN,
- $filter, $attr);
+ public function search($link, $baseDN, $filter, $attr, $attrsonly = 0, $limit = 0) {
+ return $this->invokeLDAPMethod('search', $link, $baseDN, $filter,
+ $attr, $attrsonly, $limit);
}
public function setOption($link, $option, $value) {