summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-10-09 22:25:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:42 -0500
commitc4005997b9e286f8601a22ad853354a5ec2f9c66 (patch)
tree5969b3b426b8f2bc1002510bbc46d498f9d31a61 /source4/ldap_server
parentbd7cd1953ab77c6b5ad7a9e0e234a9ec917f5c6b (diff)
downloadsamba-c4005997b9e286f8601a22ad853354a5ec2f9c66.tar.gz
samba-c4005997b9e286f8601a22ad853354a5ec2f9c66.tar.bz2
samba-c4005997b9e286f8601a22ad853354a5ec2f9c66.zip
r2881: also bind the ldap service on the global catalog service port
(port 3268) metze (This used to be commit 7d17122c71e5a84c4804b5630790ba2d1dac73ee)
Diffstat (limited to 'source4/ldap_server')
-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);
}