Comment 15 for bug 180493

Revision history for this message
Chuck Short (zulcss) wrote :

IMPACT: When suspending a laptop or disabling a network interface nmbd shuts down because there is no interfaces available. This is not the desired case. This bug has been fixed upstream in

http://git.samba.org/?p=samba.git;a=blobdiff;f=source/nmbd/nmbd.c;h=9797a7adb673b0774672ca586b1f6b625c4faf5c;hp=00d252940afc33bcf34e9d98dca13c89b15b0408;hb=4b03f4eb2da7a523967ace3d13e79406ade07d47hpb=085887eed71ed1ffdb30100d83763e671ea10eee

which I have back ported the fix for (attached).

TEST CASE:

As per above:

1. Start samba services, ensure nmbd is running. with `ps faux | grep nmbd`
2. `tail -f /var/log/samba/log.nmbd &` <-- observe
3. disable networking in nm-applet.
4. the log will eventually say, "reload_interfaces: No subnets to listen to. Shutting down.."

If you have any questions please let me know.

Thanks
chuck