1 <?php
3 class sudoldapEditRole extends plugin
4 {
5 /* Plugin specific values */
6 var $attributes = array( "sudoUser",
7 "sudoHost",
8 "sudoCommand",
9 "sudoRunAs",
10 "sudoOption");
12 var $objectclasses = array("sudoRole");
14 function sudoldapEditRole ($config, $dn= NULL,$attrs = array())
15 {
16 plugin::plugin ($config, $dn);
18 }
20 function execute()
21 {
22 /* Call parent execute */
23 plugin::execute();
26 /* Fill templating stuff */
27 $smarty= get_smarty();
28 $display= "";
30 }
32 /* Save data to object */
33 function save_object()
34 {
35 }
38 /* Check supplied data */
39 function check()
40 {
41 }
44 /* Save to LDAP */
45 function save()
46 {
47 }
50 }
52 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
53 ?>