From b50d027eaca2e8ab93cabd192235a0fe68ee07c4 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Oct 2007 13:20:45 +0000 Subject: [PATCH] Skip password only assignments in gotoShare remove entry git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7518 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goShareServer.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_goShareServer.inc b/plugins/admin/systems/class_goShareServer.inc index 6f6347627..6a9f8424c 100644 --- a/plugins/admin/systems/class_goShareServer.inc +++ b/plugins/admin/systems/class_goShareServer.inc @@ -223,7 +223,7 @@ class goShareServer extends goService{ /* Check if the share is used by someone */ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); - $ldap->search("(|(gotoProfileServer=*|$id)(gotoShare=*|$id|*))", array("cn")); + $ldap->search("(|(gotoProfileServer=*|$id)(gotoShare=*|$id|*||*))", array("cn")); $cnt= $ldap->count(); if ($cnt){ $msg= sprintf(_("The share can't be removed since it is still used by %d users:"), $cnt); -- 2.30.2