diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-19 19:55:43 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-19 19:55:43 +0000 |
commit | 87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21 (patch) | |
tree | 0fc88c021cf841c8487e1614b77022f12fa4ba0e /source3/rpcclient | |
parent | bb6de2f1e938d2b8fa565ff2196b666053fa957c (diff) | |
download | samba-87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21.tar.gz samba-87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21.tar.bz2 samba-87d92a1f1182a6b4e4dbe91d7f574c7ac8aecb21.zip |
need status codes from cli_net_req_chal() and cli_net_auth2().
this format is what i would like _all_ these functions to be
(returning status codes, not BOOL) but that's a horrendous
amount of work at the moment :)
(This used to be commit 02f240604241367f146b26934ad1a1b2563430de)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_netlogon.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_netlogon.c b/source3/rpcclient/cmd_netlogon.c index f536a0f52f..ce4d727d34 100644 --- a/source3/rpcclient/cmd_netlogon.c +++ b/source3/rpcclient/cmd_netlogon.c @@ -94,8 +94,9 @@ void cmd_netlogon_login_test(struct client_info *info) res = res ? cli_nt_setup_creds(smb_cli, nt_pipe_fnum, smb_cli->mach_acct, - trust_passwd, SEC_CHAN_WKSTA) : False; + trust_passwd, SEC_CHAN_WKSTA) == 0x0 : False; +#if 0 /* change the machine password? */ if (global_machine_password_needs_changing) { @@ -110,6 +111,7 @@ void cmd_netlogon_login_test(struct client_info *info) memset(new_trust_passwd, 0, 16); } +#endif memset(trust_passwd, 0, 16); @@ -163,7 +165,7 @@ void cmd_netlogon_domain_test(struct client_info *info) res = res ? cli_nt_session_open(smb_cli, PIPE_NETLOGON, &nt_pipe_fnum) : False; res = res ? cli_nt_setup_creds(smb_cli, nt_pipe_fnum, inter_dom_acct, - trust_passwd, SEC_CHAN_DOMAIN) : False; + trust_passwd, SEC_CHAN_DOMAIN) == 0x0 : False; memset(trust_passwd, 0, 16); |