summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit11f7553c7495ecae3e918d8329107174c2ce0149 (patch)
tree7a140f85b6d30e1ba727d65ad3f29b54f3190242 /source3/smbd
parent341a401b4802b2759092819ab5e50fe237a406d9 (diff)
downloadsamba-11f7553c7495ecae3e918d8329107174c2ce0149.tar.gz
samba-11f7553c7495ecae3e918d8329107174c2ce0149.tar.bz2
samba-11f7553c7495ecae3e918d8329107174c2ce0149.zip
turn on KEEP_PASSWORD_SERVER_OPEN by default
(This used to be commit d2676cdd0b44fc4fc825118e510bac2c3f1e40d9)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 863032df87..fcfe1b4a2c 100644
--- a/source3/smbd/password.c
+++ b/source3/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