summaryrefslogtreecommitdiff
path: root/source3/include/smbldap.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-01 16:35:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:06 -0500
commit569177a194ef990b55d3ad5d5243ca0f2659f25c (patch)
tree1c55f50786156deeeba9df7d37feadce2a04319e /source3/include/smbldap.h
parentaa9be75d8a836106037389cb3d774d38d1397ea5 (diff)
downloadsamba-569177a194ef990b55d3ad5d5243ca0f2659f25c.tar.gz
samba-569177a194ef990b55d3ad5d5243ca0f2659f25c.tar.bz2
samba-569177a194ef990b55d3ad5d5243ca0f2659f25c.zip
r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> to
add a timeout to the ldap open calls. New parameter, ldap timeout added. Jeremy. (This used to be commit e5b3094c4cc75eb07f667dd1aeb73921ed7366ac)
Diffstat (limited to 'source3/include/smbldap.h')
-rw-r--r--source3/include/smbldap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index 61b8df0f0e..c7de7d84b3 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -153,5 +153,6 @@ struct smbldap_state {
struct smbldap_state;
-#endif /* _SMBLDAP_H */
+#define LDAP_CONNECT_DEFAULT_TIMEOUT 5
+#endif /* _SMBLDAP_H */