summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clientgen.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-09-30 01:05:51 +0000
committerJeremy Allison <jra@samba.org>1998-09-30 01:05:51 +0000
commit6a261517a09b005f502a37941431308fa8bf2c5c (patch)
tree7a99a251233151d2c14151c08761e6f6f1bb393a /source/libsmb/clientgen.c
parent60c2278e8c1941bca37f1dc000bd2c29a8c0c73b (diff)
downloadsamba-6a261517a09b005f502a37941431308fa8bf2c5c.tar.gz
samba-6a261517a09b005f502a37941431308fa8bf2c5c.tar.xz
samba-6a261517a09b005f502a37941431308fa8bf2c5c.zip
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.
Diffstat (limited to 'source/libsmb/clientgen.c')
-rw-r--r--source/libsmb/clientgen.c4
1 files changed, 2 insertions, 2 deletions
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);