sudoRunAs is deprecated
authorMichael Spang <mspang@csclub.uwaterloo.ca>
Sun, 13 Mar 2011 07:23:01 +0000 (03:23 -0400)
committerMichael Spang <mspang@csclub.uwaterloo.ca>
Sun, 13 Mar 2011 07:23:17 +0000 (03:23 -0400)
src/ldap.c

index 817f913..5c7caef 100644 (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;