From eead41c479df2c3f8d10f49499397aab4e439100 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 22 Dec 2009 14:15:15 +0000 Subject: [PATCH] Updated su management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14925 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc | 2 +- gosa-plugins/sudo/admin/sudo/sudo-filter.xml | 4 +++- gosa-plugins/sudo/admin/sudo/sudo-list.tpl | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc b/gosa-plugins/sudo/admin/sudo/class_sudoManagement.inc index 22933a0ec..ce19004e7 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 (session::global_is_set(get_class($this)."_filter")){ + if (0 && 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 02e1cbc60..43f7ee850 100644 --- a/gosa-plugins/sudo/admin/sudo/sudo-filter.xml +++ b/gosa-plugins/sudo/admin/sudo/sudo-filter.xml @@ -34,6 +34,7 @@ LDAP (&(objectClass=sudoRole)(|(cn=*$NAME*)(description=*$NAME*))) cn + description 0.5 3 @@ -51,7 +52,8 @@ LDAP (&(objectClass=sudoRole)(|(sudoHost=*$USER*)(sudoUser=*$USER*))) - cn + sudoHost + sudoUser 0.5 3 diff --git a/gosa-plugins/sudo/admin/sudo/sudo-list.tpl b/gosa-plugins/sudo/admin/sudo/sudo-list.tpl index b233c5874..0b2cc7960 100644 --- a/gosa-plugins/sudo/admin/sudo/sudo-list.tpl +++ b/gosa-plugins/sudo/admin/sudo/sudo-list.tpl @@ -10,7 +10,7 @@
- +
{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR} {t}Base{/t} {$BASE}  {$SEPARATOR}  {$ACTIONS}{$ROOT} {$BACK} {$HOME} {$RELOAD} {$SEPARATOR}  {$ACTIONS}
-- 2.30.2