diff options
author | Günther Deschner <gd@samba.org> | 2008-05-05 16:58:24 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-05 16:59:53 +0200 |
commit | 4d8836ab96889bcdc35e86bedffa6117f9c35095 (patch) | |
tree | 381e8fe6d2d2efd6da763bdd238f8a5fac8acf44 /source3/client | |
parent | 1a3f50559e06c9dc45556c2c52d68a23c05d7e41 (diff) | |
download | samba-4d8836ab96889bcdc35e86bedffa6117f9c35095.tar.gz samba-4d8836ab96889bcdc35e86bedffa6117f9c35095.tar.bz2 samba-4d8836ab96889bcdc35e86bedffa6117f9c35095.zip |
Fix client authentication with -P switch in client tools (Bug 5435).
Guenther
(This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index b4e1985a83..cc0da18d4d 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4875,6 +4875,11 @@ static int do_message_op(void) argv[0], get_dyn_CONFIGFILE()); } + if (get_cmdline_auth_info_use_machine_account() && + !set_cmdline_auth_info_machine_account_creds()) { + exit(-1); + } + load_interfaces(); if (service_opt && service) { |