summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 172a3be)
raw | patch | inline | side by side (parent: 172a3be)
author | zeph <zeph@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 22 Mar 2008 17:58:28 +0000 (17:58 +0000) | ||
committer | zeph <zeph@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Sat, 22 Mar 2008 17:58:28 +0000 (17:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5-plugins@9958 594d385d-05f5-0310-b6e9-bd551577e9d8
sudo-ldap/src/class_sudoLdap.inc | patch | blob | history |
index bf8f1e457ede266979e2a0f7b1a3c60e92efc038..c6d67893dc4e6706c98a4edc0b7042e80f268d4f 100644 (file)
/* 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)
/* 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();
}