summaryrefslogtreecommitdiff
path: root/source3/libsmb
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
commit5a8458c377b6901b67a039eafbd5727ed1207cf3 (patch)
treed988e90d87ee84a39e557099623db3ca9d9634fa /source3/libsmb
parent9a5f40cadfa827d56b3ca0ae4b792b860d332b4f (diff)
downloadsamba-5a8458c377b6901b67a039eafbd5727ed1207cf3.tar.gz
samba-5a8458c377b6901b67a039eafbd5727ed1207cf3.tar.bz2
samba-5a8458c377b6901b67a039eafbd5727ed1207cf3.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. (This used to be commit 6a261517a09b005f502a37941431308fa8bf2c5c)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clientgen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index d77c58e00a..0892714b39 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/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);