diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-12-25 22:42:15 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-12-25 22:42:15 +0000 |
commit | 3a1b189a9f3d2dab1fcadc5277546baa2f88cdfa (patch) | |
tree | 3e48bfc05937942da22e92990aedd70d010434d9 /source3/include/smbldap.h | |
parent | 38d0c9698fd60ed46432bc30a110b820eb9aebb6 (diff) | |
download | samba-3a1b189a9f3d2dab1fcadc5277546baa2f88cdfa.tar.gz samba-3a1b189a9f3d2dab1fcadc5277546baa2f88cdfa.tar.xz samba-3a1b189a9f3d2dab1fcadc5277546baa2f88cdfa.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 63ffa770b67d700f138d19b4982da152f57674fc)
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 17584c4fe4c..14ea2de012c 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 */ |