From 0897979a8b0976e03a84ccaf6a70cbaa62bbd195 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 8 Aug 2001 03:25:47 +0000 Subject: Some better debugs for our security=server code. I want to track down why we occasionally don't make the connection to the server. (This used to be commit 08e99f4c12ad8747a8fd0e47ed4165cea428128d) --- source3/smbd/negprot.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 6410aa2da6..5bc3522506 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -182,12 +182,14 @@ static int reply_nt1(char *outbuf) DEBUG(5,("attempting password server validation\n")); cli = server_cryptkey(); } else { - DEBUG(5,("attempting local password validation\n")); + DEBUG(5,("not attempting password server validation\n")); } if (cli) { DEBUG(3,("using password server validation\n")); doencrypt = ((cli->sec_mode & 2) != 0); + } else { + DEBUG(3,("not using password server validation\n")); } if (doencrypt) { -- cgit