summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-08-08 03:25:47 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-08-08 03:25:47 +0000
commit0897979a8b0976e03a84ccaf6a70cbaa62bbd195 (patch)
tree3c99c922ee361caa6945d0c1ea764f5088920188
parent013ef477b27129eaeb0f5e08deccd2717f4a67c3 (diff)
downloadsamba-0897979a8b0976e03a84ccaf6a70cbaa62bbd195.tar.gz
samba-0897979a8b0976e03a84ccaf6a70cbaa62bbd195.tar.bz2
samba-0897979a8b0976e03a84ccaf6a70cbaa62bbd195.zip
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)
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 3 insertions, 1 deletions
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) {