Conditionally start nmbd?
Gerald (Jerry) Carter
jerry at samba.org
Mon Oct 17 17:10:18 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
S Murthy Kambhampaty wrote:
> --- "Gerald (Jerry) Carter" <jerry at samba.org> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> S Murthy Kambhampaty wrote:
>> | The attached patch modifies the start and stop
>> | functions to skip nmbd if smb.conf has "disable
>> | netbios = Yes". It relies on testparm to clean up
>> | case and whitespace, translate booleans, etc. to
>> | create an exact string match.
>> | Tested to work on FC4. Please consider applying
>> | the the next release.
>> Makes sense to me. Will be in 3.0.21.
> Thanks. I wondered if the group would have a problem
> with the "if COMMAND; then" construct and the hack for
> setting RETVAL2, so I prepared a version that's
> perhaps clearer (and more Fedora-like), if less
> concise ... attached. (The test is also a bit more
> strict in this new version - only the global section
> from testparm output is tested for "netbios disabled =
APplied for 3.0.21pre1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical