diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-11-05 22:53:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:09 -0500 |
commit | 55fe875a44bd63de766d4fbdb91bcc26be146a21 (patch) | |
tree | 0b8eb62dd8490ee22cdc2d36dba7cc9295ad3cd6 /source3/smbd | |
parent | 9c61daf667ca0ac939f4bd724d1c0f708983f82a (diff) | |
download | samba-55fe875a44bd63de766d4fbdb91bcc26be146a21.tar.gz samba-55fe875a44bd63de766d4fbdb91bcc26be146a21.tar.bz2 samba-55fe875a44bd63de766d4fbdb91bcc26be146a21.zip |
r3563: During a typical logon a modern workstation makes a lot of anonymous session
setups on its way to open a pipe. This gets rid of many round-trips to the
LDAP server during logon by setting up the server_info_guest once and not
asking the LDAP server and nss every time. Make sure that the ldap connection
is reopened in the child. (I did not look at the sql backends.)
Volker
(This used to be commit 3298f6105e6a88c9390cac02245c8f2eee1e5046)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index bf1da1a0c8..82da85767b 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -780,6 +780,9 @@ void build_options(BOOL screen); init_structs(); + if (!init_guest_info()) + return -1; + #ifdef WITH_PROFILE if (!profile_setup(False)) { DEBUG(0,("ERROR: failed to setup profiling\n")); |