Commit f6e81ed1 authored by Russ Allbery's avatar Russ Allbery
Browse files

Delete the correct principal on -D.

parent fd93ac88
...@@ -291,7 +291,7 @@ delete_principal(struct config *config) ...@@ -291,7 +291,7 @@ delete_principal(struct config *config)
die("can't make connection to auth server"); die("can't make connection to auth server");
/* Delete the user. */ /* Delete the user. */
parse_principal(config, config->service, name, inst, cell); parse_principal(config, config->delete, name, inst, cell);
code = ubik_Call(KAM_DeleteUser, conn, 0, name, inst); code = ubik_Call(KAM_DeleteUser, conn, 0, name, inst);
if (config->debug) if (config->debug)
printf("ubik_Call KAM_DeleteUser %ld\n", code); printf("ubik_Call KAM_DeleteUser %ld\n", code);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment