sudoRunAs is deprecated
This commit is contained in:
parent
1781e9bb83
commit
8c61a6b918
|
@ -150,7 +150,7 @@ int ceo_add_group_sudo(char *group, char *basedn) {
|
|||
|
||||
mods[++i] = xmalloc(sizeof(LDAPMod));
|
||||
mods[i]->mod_op = LDAP_MOD_ADD;
|
||||
mods[i]->mod_type = "sudoRunAs";
|
||||
mods[i]->mod_type = "sudoRunAsUser";
|
||||
char *sudorunas[] = { group, NULL };
|
||||
mods[i]->mod_values = sudorunas;
|
||||
|
||||
|
|
Loading…
Reference in New Issue