summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 955a7cfa74..f18391516f 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1619,6 +1619,9 @@ typedef struct {
#include "popt_common.h"
#define PORT_NONE 0
+#ifndef LDAP_PORT
+#define LDAP_PORT 389
+#endif
/* used by the IP comparison function */
struct ip_service {