sudoRunAs is deprecated

This commit is contained in:
Michael Spang 2011-03-13 03:23:01 -04:00
parent 1781e9bb83
commit 8c61a6b918
1 changed files with 1 additions and 1 deletions

View File

@ -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;