summaryrefslogtreecommitdiffstats
path: root/source/smbd/password.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-05-05 11:25:07 +0000
committerAndrew Tridgell <tridge@samba.org>1996-05-05 11:25:07 +0000
commitd2676cdd0b44fc4fc825118e510bac2c3f1e40d9 (patch)
tree2bca3cc1dcafd69d58d4ebe9511b48a15fa74801 /source/smbd/password.c
parent4b2579daae0a9d78780476694fd395d97445e197 (diff)
downloadsamba-d2676cdd0b44fc4fc825118e510bac2c3f1e40d9.tar.gz
samba-d2676cdd0b44fc4fc825118e510bac2c3f1e40d9.tar.xz
samba-d2676cdd0b44fc4fc825118e510bac2c3f1e40d9.zip
turn on KEEP_PASSWORD_SERVER_OPEN by default
Diffstat (limited to 'source/smbd/password.c')
-rw-r--r--source/smbd/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 863032df872..fcfe1b4a2ce 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -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