summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-02-15 21:08:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:56 -0500
commit576cdc713c1e98b6cf30b610c8c1f65f65e55961 (patch)
treeb40fd7a745f1808e91587e130cec9af9dcc0c817 /source4
parent7449f4d8030e7d4a14c75d35af5ea68cf682d24f (diff)
downloadsamba-576cdc713c1e98b6cf30b610c8c1f65f65e55961.tar.gz
samba-576cdc713c1e98b6cf30b610c8c1f65f65e55961.tar.bz2
samba-576cdc713c1e98b6cf30b610c8c1f65f65e55961.zip
r13516: We can't bind to both 0.0.0.0 and specific network interfaces at the
same time. This was causing the kdc to shut itself down if 'bind interfaces only = no'. Andrew Bartlett (This used to be commit 02ff22a25050687478cfcca4dce35c2346cc2241)
Diffstat (limited to 'source4')
-rw-r--r--source4/kdc/kdc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index fc3dd516a5..8492d5a7eb 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -510,13 +510,6 @@ static NTSTATUS kdc_startup_interfaces(struct kdc_server *kdc)
NT_STATUS_NOT_OK_RETURN(status);
}
- /* if we are allowing incoming packets from any address, then
- we need to bind to the wildcard address */
- if (!lp_bind_interfaces_only()) {
- status = kdc_add_socket(kdc, "0.0.0.0");
- NT_STATUS_NOT_OK_RETURN(status);
- }
-
talloc_free(tmp_ctx);
return NT_STATUS_OK;