summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34b8bdb)
raw | patch | inline | side by side (parent: 34b8bdb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Sep 2006 03:33:29 +0000 (03:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 7 Sep 2006 03:33:29 +0000 (03:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4608 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index 74d85a2eb236e51c756f66ed690f4c2f899104aa..1392ac7c7fd1ce36a3dab93c33ab0d4548d41fcc 100644 (file)
}
$ldap->cd($this->config->current['BASE']);
- $ldap->search("(&(objectClass=gosaUserTemplate)(uid=".$template."))", array("cn","accessTo"));
+ $ldap->search("(&(objectClass=gosaUserTemplate)(uid=".$template.")(accessTo=*))", array("cn","accessTo"));
+
while($attr = $ldap->fetch()){
$tmp = $attr['accessTo'];
unset ($tmp['count']);