Bug 2114 - [patch] nmbd exits when some interfaces are down
Summary: [patch] nmbd exits when some interfaces are down
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: nmbd (show other bugs)
Version: 3.0.6
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-12-01 19:02 UTC by Gustavo Cremella
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:

patch to nmbd.c::main() (582 bytes, text/plain)
2004-12-01 19:12 UTC, Gustavo Cremella
no flags Details
patch to nmbd_subnetdb.c (1.23 KB, text/plain)
2004-12-01 19:13 UTC, Gustavo Cremella
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Cremella 2004-12-01 19:02:04 UTC
In an WAN environment you may have some interfaces down, so some people may 
wish to continue anyway starting nmbd instead of exiting it. 
I've made patches to nmbd.c and nmbd_subnetdb.c where made in order to avoid 
that behavior. 
Please tell me how to send it for your examination and perhaps aproval. 
Comment 1 Gustavo Cremella 2004-12-01 19:12:08 UTC
Created attachment 818 [details]
patch to nmbd.c::main()

It seem to be the same problem with all version since 3.0.6 al least.
Comment 2 Gustavo Cremella 2004-12-01 19:13:24 UTC
Created attachment 819 [details]
patch to nmbd_subnetdb.c

It seems to be the same since 3.0.6 at least.
Comment 3 Gustavo Cremella 2004-12-01 19:17:35 UTC
This problem may exist since at least 3.0.6. 
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-02-11 08:33:43 UTC
This think this has been fixed.  Please retest against 3.0.11.
If the issue is still there, let us know and someone will work 
on reviewing your patch.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:18:42 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.