From cfcc78b40e825a9092d50d55a926064a053dd725 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 15 Mar 2010 14:21:54 +0000 Subject: [PATCH] Fixed sudo filter scope git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16531 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc | 2 +- gosa-plugins/sudo/admin/sudo/sudo-filter.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2