r13516: We can't bind to both 0.0.0.0 and specific network interfaces at the
authorAndrew Bartlett <abartlet@samba.org>
Wed, 15 Feb 2006 21:08:10 +0000 (21:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:56 +0000 (13:51 -0500)
same time.

This was causing the kdc to shut itself down if 'bind interfaces only = no'.

Andrew Bartlett
(This used to be commit 02ff22a25050687478cfcca4dce35c2346cc2241)

source4/kdc/kdc.c

index fc3dd516a5f9b987cfe7a1b30dc816c007c29bc6..8492d5a7eb10303bfb49c518c3807747f43cfc2e 100644 (file)
@@ -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;