Conditionally start nmbd?

Gerald (Jerry) Carter jerry at samba.org
Mon Oct 17 17:10:18 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
>> for
>> | 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 =
> Yes").

APplied for 3.0.21pre1







cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDU9r6IR7qMdg1EfYRAtzfAJ9ISpnuoTUqrD8iE1khGSXRTqQknwCdEKB1
ElUytZELCz0WzOZefWTPs7k=
=29sY
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list