turn on KEEP_PASSWORD_SERVER_OPEN by default
[samba.git] / source / smbd / password.c
index 863032df8728afbad40a14a7daa6e157e034b46b..fcfe1b4a2ceed66aa2b6c063f3ed82a78508a24a 100644 (file)
@@ -1241,7 +1241,7 @@ BOOL check_hosts_equiv(char *user)
 }
 
 
-static int password_client = -1;
+int password_client = -1;
 static fstring pserver;
 
 /****************************************************************************
@@ -1405,7 +1405,7 @@ BOOL server_validate(char *buf)
 
   DEBUG(3,("password server %s accepted the password\n",pserver));
 
-#ifndef KEEP_PASSWORD_SERVER_OPEN
+#if !KEEP_PASSWORD_SERVER_OPEN
   close(password_client); password_client= -1;
 #endif