]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Some better debugs for our security=server code. I want to track down why
authorAndrew Bartlett <abartlet@samba.org>
Wed, 8 Aug 2001 03:25:47 +0000 (03:25 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Aug 2001 03:25:47 +0000 (03:25 +0000)
we occasionally don't make the connection to the server.

source/smbd/negprot.c

index 6410aa2da6e3377af0dbef3f1f0dfadfb6234187..5bc3522506f778b296ea0417166036f991fd6a8c 100644 (file)
@@ -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) {