[Samba] domain logins fail - nmbd doa

Jeremy Allison jra at samba.org
Sun Jun 27 01:57:40 GMT 2004


On Sun, Jun 27, 2004 at 10:29:02AM +1000, Res wrote:
> This is still  a apain, nmbd just dies off and therefore fails domain 
> logins..
> 
> log shows:
>  *****
> [2004/06/26 19:43:15, 0] nmbd/nmbd.c:reload_interfaces(263)
>   reload_interfaces: No subnets to listen to. Shutting down...
> 
> then next day when ppl boot up their horrid XP boxes and try login  we 
> need to restart samba for them, this is a very big pain being daily event.
> 
> # nmbd -V
> Version 3.0.4
> ..with the curent 2.4.26 kernel, and no changes have been made to our 
> smb.conf file. This is running on a fedora c1 machine, using the fedora 
> c1 rpm's from thw samba site, not RH's.
> 
> I had heard of a similar (same???) bug that I thought was fixed in 3.0.4
> or must we downgrade to hte ld version we had that ran for months adn 
> months untill a fix is located?

Can you try this patch ? It just got applied to the SVN code.

Thanks,

	Jeremy.
-------------- next part --------------
--- source/lib/interface.c~destroys-config	2004-04-15 18:00:44.000000000 +0200
+++ source/lib/interface.c	2004-04-15 18:01:15.000000000 +0200
@@ -130,10 +130,12 @@
 	}
 
 	/* parse it into an IP address/netmasklength pair */
-	*p++ = 0;
+	*p = 0;
 
 	ip = *interpret_addr2(token);
 
+	*p++ = '/';
+
 	if (strlen(p) > 2) {
 		nmask = *interpret_addr2(p);
 	} else {




More information about the samba mailing list