From 6a261517a09b005f502a37941431308fa8bf2c5c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 30 Sep 1998 01:05:51 +0000 Subject: libsmb/clientgen.c: Fixed signed/unsigned compile warnings spotted by Herb. param/loadparm.c: smbd/oplock.c: Allow kernel oplocks to be turned off in the smb.conf file. smbd/server.c: Move init_structs() to after the smb.conf file is loaded - preparation for making a "max open files" parameter. Jeremy. --- source/libsmb/clientgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/libsmb/clientgen.c') diff --git a/source/libsmb/clientgen.c b/source/libsmb/clientgen.c index d77c58e00a9..0892714b393 100644 --- a/source/libsmb/clientgen.c +++ b/source/libsmb/clientgen.c @@ -1888,8 +1888,8 @@ BOOL cli_establish_connection(struct cli_state *cli, else { /* attempt encrypted session */ - char nt_sess_pwd[24]; - char lm_sess_pwd[24]; + unsigned char nt_sess_pwd[24]; + unsigned char lm_sess_pwd[24]; /* creates (storing a copy of) and then obtains a 24 byte password OWF */ pwd_make_lm_nt_owf(&(cli->pwd), cli->cryptkey); -- cgit