summaryrefslogtreecommitdiffstats
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
commit08e99f4c12ad8747a8fd0e47ed4165cea428128d (patch)
treef703999d3630f9e5ca9b62f82f49b864abc5f9cf
parent4c4d128d08e848c65b1aec8bcc0b1bc3a913d55b (diff)
downloadsamba-08e99f4c12ad8747a8fd0e47ed4165cea428128d.tar.gz
samba-08e99f4c12ad8747a8fd0e47ed4165cea428128d.tar.xz
samba-08e99f4c12ad8747a8fd0e47ed4165cea428128d.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.
-rw-r--r--source/smbd/negprot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/smbd/negprot.c b/source/smbd/negprot.c
index 6410aa2da6e..5bc3522506f 100644
--- a/source/smbd/negprot.c
+++ b/source/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) {