From: Andrew Tridgell Date: Thu, 29 Nov 2001 06:38:54 +0000 (+0000) Subject: define LDAP_PORT when not available X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=090acb27c3c2fe0562870ed9a1b13158d3d37767;p=abartlet%2Fsamba.git%2F.git define LDAP_PORT when not available (This used to be commit 5a5f140f84f4dd377d141e352f4cb7f9bea4fe64) --- diff --git a/source3/libads/ads_struct.c b/source3/libads/ads_struct.c index be0374225b0..84c12bf6652 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