diff options
-rw-r--r-- | source3/libads/ads_struct.c | 3 |
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 |