diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-01 22:06:53 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-01 22:06:53 +0000 |
commit | fcc39b3f4f2f8d04d3fab09db048b4f3dc1e97d5 (patch) | |
tree | 3926b22ce391bc80edff7118623c4bf1424a00e9 /source/libsmb/passchange.c | |
parent | fa054c96c62ed0f0a0c6649a7ad7a143fe09694b (diff) | |
download | samba-fcc39b3f4f2f8d04d3fab09db048b4f3dc1e97d5.tar.gz samba-fcc39b3f4f2f8d04d3fab09db048b4f3dc1e97d5.tar.xz samba-fcc39b3f4f2f8d04d3fab09db048b4f3dc1e97d5.zip |
more cli_session_setup() calls. what the heck are these doing???
they should all be replaced with cli_establish_connection().
created cli_use_wait_keyboard() which waits on multiple cli_states
and swallows session keepalives.
Diffstat (limited to 'source/libsmb/passchange.c')
-rw-r--r-- | source/libsmb/passchange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/passchange.c b/source/libsmb/passchange.c index 4cca1927fa0..b5552d4cea1 100644 --- a/source/libsmb/passchange.c +++ b/source/libsmb/passchange.c @@ -75,7 +75,7 @@ BOOL remote_password_change(const char *remote_machine, const char *user_name, * Thanks to <Nicholas.S.Jenkins@cdc.com> for this fix. */ - if (!cli_session_setup(&cli, "", "", 0, "", 0, "")) { + if (!cli_session_setup(&cli, global_myname, "", "", 0, "", 0, "")) { slprintf(err_str, err_str_len-1, "machine %s rejected the session setup. Error was : %s.\n", remote_machine, cli_errstr(&cli) ); cli_shutdown(&cli); |