diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-12-25 22:45:15 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-12-25 22:45:15 +0000 |
commit | 3dba56747d3d34b6ccfeea24f53e38c1554f8f4a (patch) | |
tree | bf530070af1fc3f2571e338aa2d679b1d92d9725 /source3/include/smbldap.h | |
parent | ba1d1842fe7c2e35c9a6835bbdbbe7f4616d408c (diff) | |
download | samba-3dba56747d3d34b6ccfeea24f53e38c1554f8f4a.tar.gz samba-3dba56747d3d34b6ccfeea24f53e38c1554f8f4a.tar.bz2 samba-3dba56747d3d34b6ccfeea24f53e38c1554f8f4a.zip |
This is metze's LDAP rebind sleep patch:
When smb.conf tells us to write to a read-only LDAP replica and we are
redirected by the LDAP server, the replication might take some seconds,
especially over slow links. This patch delays the next read after a rebind for
'ldap rebind sleep' milliseconds.
Metze, thanks for your patience.
Volker
(This used to be commit 7293550e3642e2553684a7011084dabb0b78fd24)
Diffstat (limited to 'source3/include/smbldap.h')
-rw-r--r-- | source3/include/smbldap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index 17584c4fe4..14ea2de012 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -138,6 +138,8 @@ struct smbldap_state { time_t last_use; smb_event_id_t event_id; + + struct timeval last_rebind; }; #endif /* HAVE_LDAP */ |