summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server/ldap_server.c')
-rw-r--r--source4/ldap_server/ldap_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index 5336cc04f1..9065647e01 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -42,6 +42,9 @@ static void add_socket(struct server_service *service,
srv_sock = service_setup_socket(service, model_ops, ip_str, &port);
+ port = 3268;
+ srv_sock = service_setup_socket(service, model_ops, ip_str, &port);
+
talloc_free(ip_str);
}