mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
fix some formatting
(This used to be commit fca08b1c8766ef1961a9dedc127224249cac9543)
This commit is contained in:
parent
0c3d46f17f
commit
3912ca09ea
@ -845,31 +845,30 @@ int main(int argc, char **argv)
|
||||
}
|
||||
break;
|
||||
case 'a': {
|
||||
BOOL got_error = False;
|
||||
BOOL got_error = False;
|
||||
|
||||
if (!wbinfo_auth(string_arg)) {
|
||||
d_printf("Could not authenticate user %s with "
|
||||
"plaintext password\n", string_arg);
|
||||
got_error = True;
|
||||
}
|
||||
if (!wbinfo_auth(string_arg)) {
|
||||
d_printf("Could not authenticate user %s with "
|
||||
"plaintext password\n", string_arg);
|
||||
got_error = True;
|
||||
}
|
||||
|
||||
if (!wbinfo_auth_crap(string_arg)) {
|
||||
d_printf("Could not authenticate user %s with "
|
||||
"challenge/response\n", string_arg);
|
||||
got_error = True;
|
||||
}
|
||||
if (!wbinfo_auth_crap(string_arg)) {
|
||||
d_printf("Could not authenticate user %s with "
|
||||
"challenge/response\n", string_arg);
|
||||
got_error = True;
|
||||
}
|
||||
|
||||
if (got_error)
|
||||
goto done;
|
||||
break;
|
||||
}
|
||||
case 'p': {
|
||||
if (!wbinfo_ping()) {
|
||||
d_printf("could not ping winbindd!\n");
|
||||
goto done;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (got_error)
|
||||
goto done;
|
||||
break;
|
||||
}
|
||||
case 'p':
|
||||
if (!wbinfo_ping()) {
|
||||
d_printf("could not ping winbindd!\n");
|
||||
goto done;
|
||||
}
|
||||
break;
|
||||
case OPT_SET_AUTH_USER:
|
||||
wbinfo_set_auth_user(string_arg);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user