summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75288ec)
raw | patch | inline | side by side (parent: 75288ec)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Apr 2006 08:14:23 +0000 (08:14 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Apr 2006 08:14:23 +0000 (08:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3060 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index 6bdcbc96e0841e1d82b63c032379bb996fc72f4e..ee07d02f34f01cdf3b0de011df882514199c2b79 100644 (file)
if ($this->orig_dn != $this->dn){
$ldap= $this->config->get_ldap_link();
$ldap->cd ($this->base);
- $ldap->search ("(cn=".$this->cn.")", array("cn"));
+ $ldap->search ("(&(cn=".$this->cn.")(objectClass=gotoWorkstation))", array("cn"));
if ($ldap->count() != 0){
while ($attrs= $ldap->fetch()){
if (preg_match ("/,ou=incoming,/", $ldap->getDN())){