From: hickert Date: Mon, 15 Mar 2010 14:21:54 +0000 (+0000) Subject: Fixed sudo filter scope X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cfcc78b40e825a9092d50d55a926064a053dd725;p=gosa.git Fixed sudo filter scope git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16531 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc index 2bbaf088d..3accca41d 100644 --- a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc +++ b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc @@ -41,7 +41,7 @@ class sudoManagement extends management $this->storagePoints = array(get_ou("sudoRDN")); // Build filter - if (0 && session::global_is_set(get_class($this)."_filter")){ + if (session::global_is_set(get_class($this)."_filter")){ $filter= session::global_get(get_class($this)."_filter"); } else { $filter = new filter(get_template_path("sudo-filter.xml", true)); diff --git a/gosa-plugins/sudo/admin/sudo/sudo-filter.xml b/gosa-plugins/sudo/admin/sudo/sudo-filter.xml index 4382f380d..80c0460e8 100644 --- a/gosa-plugins/sudo/admin/sudo/sudo-filter.xml +++ b/gosa-plugins/sudo/admin/sudo/sudo-filter.xml @@ -6,7 +6,7 @@ sudo true default - auto + one dn objectClass cn