summaryrefslogtreecommitdiff
path: root/source3
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
commit090acb27c3c2fe0562870ed9a1b13158d3d37767 (patch)
treec88a81460d66c4fb7bbb808791e7238b859b3962 /source3
parent7879a1a811c29660df282cba2cf6e95c50532b2b (diff)
downloadsamba-090acb27c3c2fe0562870ed9a1b13158d3d37767.tar.gz
samba-090acb27c3c2fe0562870ed9a1b13158d3d37767.tar.bz2
samba-090acb27c3c2fe0562870ed9a1b13158d3d37767.zip
define LDAP_PORT when not available
(This used to be commit 5a5f140f84f4dd377d141e352f4cb7f9bea4fe64)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ads_struct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libads/ads_struct.c b/source3/libads/ads_struct.c
index be0374225b..84c12bf665 100644
--- a/source3/libads/ads_struct.c
+++ b/source3/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