mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
turn on KEEP_PASSWORD_SERVER_OPEN by default
(This used to be commit d2676cdd0b
)
This commit is contained in:
parent
341a401b48
commit
11f7553c74
@ -163,5 +163,8 @@
|
||||
/* shall we support browse requests via a FIFO to nmbd? */
|
||||
#define ENABLE_FIFO 1
|
||||
|
||||
/* keep the password server open, this uses up a aocket, but is needed
|
||||
by many apps */
|
||||
#define KEEP_PASSWORD_SERVER_OPEN 1
|
||||
|
||||
#endif
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user