From: zeph Date: Sat, 22 Mar 2008 17:58:28 +0000 (+0000) Subject: cleaning up X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=325c4c6db884a5fdd05d19c6ddacefc397421168;p=gosa.git cleaning up git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5-plugins@9958 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/sudo-ldap/src/class_sudoLdap.inc b/sudo-ldap/src/class_sudoLdap.inc index bf8f1e457..c6d67893d 100644 --- a/sudo-ldap/src/class_sudoLdap.inc +++ b/sudo-ldap/src/class_sudoLdap.inc @@ -17,11 +17,14 @@ class sudoLdap extends plugin /* Plugin specific values */ - var $attributes = array("sudoUser", "sudoHost", "sudoCommand", "sudoRunAs", "sudoOption"); + var $attributes = array( "sudoUser", + "sudoHost", + "sudoCommand", + "sudoRunAs", + "sudoOption"); + var $objectclasses = array("sudoRole"); - - var $uid =""; - + /* constructor, if 'dn' is set, the node loads the given 'dn' from LDAP */ function sudoLdap ($config, $dn= NULL, $parent= NULL) @@ -32,11 +35,6 @@ class sudoLdap extends plugin /* Load bases attributes */ plugin::plugin($config, $dn, $parent); - /* set user id */ - if(isset($this->attrs['uid'])){ - $this->uid = $this->attrs['uid'][0]; - } - $ldap= $this->config->get_ldap_link(); }