svn commit: samba r13516 - in branches/SAMBA_4_0/source/kdc: .

abartlet at samba.org abartlet at samba.org
Wed Feb 15 21:08:11 GMT 2006


Author: abartlet
Date: 2006-02-15 21:08:10 +0000 (Wed, 15 Feb 2006)
New Revision: 13516

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13516

Log:
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

Modified:
   branches/SAMBA_4_0/source/kdc/kdc.c


Changeset:
Modified: branches/SAMBA_4_0/source/kdc/kdc.c
===================================================================
--- branches/SAMBA_4_0/source/kdc/kdc.c	2006-02-15 18:45:25 UTC (rev 13515)
+++ branches/SAMBA_4_0/source/kdc/kdc.c	2006-02-15 21:08:10 UTC (rev 13516)
@@ -510,13 +510,6 @@
 		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;



More information about the samba-cvs mailing list