return 0;
}
- if (!c->opt_user_specified) {
+ if (!c->explicit_credentials) {
d_fprintf(stderr, _("Usage:\n"));
d_fprintf(stderr,
_(" net setauthuser -U user[%%password]\n"
return -1;
}
- if (!c->opt_user_specified && c->opt_password == NULL) {
+ if (!c->explicit_credentials) {
net_use_krb_machine_account(c);
}
d_printf(_("Processing principals to add...\n"));
- if (!c->opt_user_specified && c->opt_password == NULL) {
+ if (!c->explicit_credentials) {
net_use_krb_machine_account(c);
}
d_printf(_("Processing principals to delete...\n"));
- if (!c->opt_user_specified && c->opt_password == NULL) {
+ if (!c->explicit_credentials) {
net_use_krb_machine_account(c);
}
net_warn_member_options();
- if (!c->opt_user_specified && c->opt_password == NULL) {
+ if (!c->explicit_credentials) {
net_use_krb_machine_account(c);
}