diff options
author | Luke Leighton <lkcl@samba.org> | 2000-03-10 02:10:43 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-03-10 02:10:43 +0000 |
commit | 08aef5dac86060f70825fd880cfc1e35d8d1f821 (patch) | |
tree | 773eb469bbac6b95dd0e3355f300f5c9d6962013 | |
parent | a9b5bbd72e754ea2c7ca18755ddaab1ed2d538c0 (diff) | |
download | samba-08aef5dac86060f70825fd880cfc1e35d8d1f821.tar.gz samba-08aef5dac86060f70825fd880cfc1e35d8d1f821.tar.xz samba-08aef5dac86060f70825fd880cfc1e35d8d1f821.zip |
initialiase USER_INFO_CTR to null
-rw-r--r-- | source/rpc_client/cli_login.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/rpc_client/cli_login.c b/source/rpc_client/cli_login.c index 9a7f0cbddd6..dbee6959b59 100644 --- a/source/rpc_client/cli_login.c +++ b/source/rpc_client/cli_login.c @@ -169,6 +169,7 @@ BOOL cli_nt_login_general(const char *srv_name, const char *myhostname, uint8 sess_key[16]; NET_USER_INFO_CTR user_ctr; uint32 status; + ZERO_STRUCT(user_ctr); user_ctr.switch_value = validation_level; DEBUG(5, ("cli_nt_login_general: %d\n", __LINE__)); @@ -220,6 +221,7 @@ uint32 cli_nt_login_interactive(const char *srv_name, const char *myhostname, uint32 status; uint8 sess_key[16]; NET_USER_INFO_CTR user_ctr; + ZERO_STRUCT(user_ctr); user_ctr.switch_value = validation_level; DEBUG(5, ("cli_nt_login_interactive: %d\n", __LINE__)); @@ -278,6 +280,7 @@ uint32 cli_nt_login_network(const char *srv_name, const char *myhostname, uint8 sess_key[16]; uint32 status; NET_USER_INFO_CTR user_ctr; + ZERO_STRUCT(user_ctr); user_ctr.switch_value = validation_level; DEBUG(5, ("cli_nt_login_network: %d\n", __LINE__)); |