From 090acb27c3c2fe0562870ed9a1b13158d3d37767 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 29 Nov 2001 06:38:54 +0000 Subject: define LDAP_PORT when not available (This used to be commit 5a5f140f84f4dd377d141e352f4cb7f9bea4fe64) --- source3/libads/ads_struct.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit