summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-15 19:16:38 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-15 19:16:38 +0000
commited606bc7d4e6fb1091e527ea70a3e950d50a1db4 (patch)
treead33d417284331c970bc3de94db3276dbafc6018 /source/libsmb
parente55a3dc94a824b61a7123b080705be2271268ee4 (diff)
downloadsamba-ed606bc7d4e6fb1091e527ea70a3e950d50a1db4.tar.gz
samba-ed606bc7d4e6fb1091e527ea70a3e950d50a1db4.tar.xz
samba-ed606bc7d4e6fb1091e527ea70a3e950d50a1db4.zip
smb.h smbparse.c pipenetlog.c :
whoops, the SAM Logon structure was wrong. updated this, and cifsntdomain.txt. more debug info in pipenetlog.c. the crash is somewhere around deal_with_credentials(). byteorder.h : put in uint8, uint16 and uint32 typecasts around debug info, because sign extending was resulting in ffffffe8 being displayed instead of e8. credentials.c : some debugging info, because i'm tracking a coredump. without gdb. nothing like making things difficult. reply.c : whoops, missed this (important) bit from paul's code, which tells the NT workstation that the MACHINE$ entry doesn't already exist, and we're going to create a default entry with a password "machine" right now. proto.h: the usual.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/credentials.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/libsmb/credentials.c b/source/libsmb/credentials.c
index babc8180f2c..d56598e98a3 100644
--- a/source/libsmb/credentials.c
+++ b/source/libsmb/credentials.c
@@ -99,7 +99,7 @@ void cred_create(uint32 session_key[2], DOM_CHAL *stor_cred, UTIME timestamp,
DEBUG(5,(" sess_key : %lx %lx\n", session_key [0], session_key [1]));
DEBUG(5,(" stor_cred: %lx %lx\n", stor_cred->data[0], stor_cred->data[1]));
- DEBUG(5,(" timecred : %lx %lx\n", IVAL(timecred, 0), IVAL(timecred, 4)));
+ DEBUG(5,(" timecred : %lx %lx\n", IVAL(timecred, 0) , IVAL(timecred, 4) ));
DEBUG(5,(" calc_cred: %lx %lx\n", cred ->data[0], cred ->data[1]));
}
@@ -129,7 +129,6 @@ int cred_assert(DOM_CHAL *cred, uint32 session_key[2], DOM_CHAL *stored_cred,
DEBUG(5,(" challenge : %lx %lx\n", cred->data[0], cred->data[1]));
DEBUG(5,(" calculated: %lx %lx\n", cred2.data[0], cred2.data[1]));
- DEBUG(5,(" challenge: "));
return memcmp(cred->data, cred2.data, 8) == 0;
}