summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-19 11:10:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:31 -0500
commit7a17da2186c628f0d8e8a43ca34320b0f10d9d8f (patch)
tree1a34d26ff6ae6797c3ccdfacb928513c135b00db /source4/web_server
parent6720bd94b8506d652ddc273bdbe02944e5911e23 (diff)
downloadsamba-7a17da2186c628f0d8e8a43ca34320b0f10d9d8f.tar.gz
samba-7a17da2186c628f0d8e8a43ca34320b0f10d9d8f.tar.bz2
samba-7a17da2186c628f0d8e8a43ca34320b0f10d9d8f.zip
r7751: only enable tls on the ldaps port in ldap server, and reject non-tls
connections on that port (This used to be commit 30da6a1cc41308a16a486111887f45bcf598f064)
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/web_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/web_server.c b/source4/web_server/web_server.c
index e54c0b6e9f..5ccf059b49 100644
--- a/source4/web_server/web_server.c
+++ b/source4/web_server/web_server.c
@@ -191,7 +191,7 @@ static void websrv_accept(struct stream_connection *conn)
websrv_timeout, web);
web->tls = tls_init_server(edata->tls_params, conn->socket,
- conn->event.fde, "GPHO");
+ conn->event.fde, "GPHO", True);
if (web->tls == NULL) goto failed;
return;