summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c10d1b6)
raw | patch | inline | side by side (parent: c10d1b6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 8 Mar 2006 04:42:42 +0000 (04:42 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 8 Mar 2006 04:42:42 +0000 (04:42 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2819 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ldap.inc | patch | blob | history |
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index c6193c635039e99e16cb4967bfe92f36a89f6c94..5bc19ed63bd51db031d71ccab7cff2d0b38da5db 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
}
}
- function cat($dn)
+ function cat($dn,$attrs= array("*"))
{
if($this->hascon){
if ($this->reconnect) $this->connect();
$this->clearResult();
$filter = "(objectclass=*)";
- $this->sr = @ldap_read($this->cid, $this->fix($dn), $filter);
+ $this->sr = @ldap_read($this->cid, $this->fix($dn), $filter,$attrs);
$this->error = @ldap_error($this->cid);
$this->resetResult();
$this->hasres=true;