summaryrefslogtreecommitdiffstats
path: root/source/include/smbldap.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-11-05 22:53:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:09 -0500
commit3298f6105e6a88c9390cac02245c8f2eee1e5046 (patch)
tree1d573fac54730df66bf32a3cf58d918806d38c18 /source/include/smbldap.h
parent40cad9dcc14ddec0ce74bb9010d13bd82e4d10af (diff)
downloadsamba-3298f6105e6a88c9390cac02245c8f2eee1e5046.tar.gz
samba-3298f6105e6a88c9390cac02245c8f2eee1e5046.tar.xz
samba-3298f6105e6a88c9390cac02245c8f2eee1e5046.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
Diffstat (limited to 'source/include/smbldap.h')
-rw-r--r--source/include/smbldap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/smbldap.h b/source/include/smbldap.h
index 58502ec34e7..47f336cdb7a 100644
--- a/source/include/smbldap.h
+++ b/source/include/smbldap.h
@@ -139,6 +139,7 @@ BOOL smbldap_get_single_pstring (LDAP * ldap_struct, LDAPMessage * entry,
struct smbldap_state {
LDAP *ldap_struct;
+ pid_t pid;
time_t last_ping;
/* retrive-once info */
const char *uri;