summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a09f130)
raw | patch | inline | side by side (parent: a09f130)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Dec 2009 14:15:15 +0000 (14:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Dec 2009 14:15:15 +0000 (14:15 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14925 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 22933a0ec9feb37ddf2a095c236b84f9498c57c7..ce19004e7b12f2c6f5d80c2beb37278859d83deb 100644 (file)
$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 02e1cbc60c36843d257cb9b066b4df24d6fefd70..43f7ee850e03d47bd2d0e11d21c79692016440d5 100644 (file)
<backend>LDAP</backend>
<filter>(&(objectClass=sudoRole)(|(cn=*$NAME*)(description=*$NAME*)))</filter>
<attribute>cn</attribute>
+ <attribute>description</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
<autocomplete>
<backend>LDAP</backend>
<filter>(&(objectClass=sudoRole)(|(sudoHost=*$USER*)(sudoUser=*$USER*)))</filter>
- <attribute>cn</attribute>
+ <attribute>sudoHost</attribute>
+ <attribute>sudoUser</attribute>
<frequency>0.5</frequency>
<characters>3</characters>
</autocomplete>
diff --git a/gosa-plugins/sudo/admin/sudo/sudo-list.tpl b/gosa-plugins/sudo/admin/sudo/sudo-list.tpl
index b233c5874c0a4d5101b80258c2d6c3e5687d5be6..0b2cc7960d8217345b20541c36a612f2f11cacce 100644 (file)
<div class="contentboxb">
<div style='background:white;padding:0px;padding:3px;'>
<table><tr>
- <td>{$ROOT} </td><td>{$BACK} </td><td>{$HOME} </td><td>{$RELOAD} </td><td>{$SEPARATOR} </td><td>{t}Base{/t} {$BASE} <input class='center' type='image' src='images/lists/submit.png' align='middle' title='{t}Update{/t}' name='submit_department' alt='{t}Submit{/t}'> </td><td>{$SEPARATOR} </td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
+ <td>{$ROOT} </td><td>{$BACK} </td><td>{$HOME} </td><td>{$RELOAD} </td><td>{$SEPARATOR} </td><td><img src='images/rocket.png' alt='' class='center'></td><td> {$ACTIONS}</td>
</tr></table>
</div>
</div>