summaryrefslogtreecommitdiffstats
path: root/source/libads
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-29 06:38:54 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-29 06:38:54 +0000
commit5a5f140f84f4dd377d141e352f4cb7f9bea4fe64 (patch)
tree0b956a32395cc4bd3804cabbc819078cb8aa1f97 /source/libads
parent624cb28271289aa697f23c32f7b5159f6fcbb51d (diff)
downloadsamba-5a5f140f84f4dd377d141e352f4cb7f9bea4fe64.tar.gz
samba-5a5f140f84f4dd377d141e352f4cb7f9bea4fe64.tar.xz
samba-5a5f140f84f4dd377d141e352f4cb7f9bea4fe64.zip
define LDAP_PORT when not available
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ads_struct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/libads/ads_struct.c b/source/libads/ads_struct.c
index be0374225b0..84c12bf6652 100644
--- a/source/libads/ads_struct.c
+++ b/source/libads/ads_struct.c
@@ -123,6 +123,9 @@ static char *find_ldap_server(ADS_STRUCT *ads)
#endif
+#ifndef LDAP_PORT
+#define LDAP_PORT 389
+#endif
/*
initialise a ADS_STRUCT, ready for some ads_ ops