[Samba] edited tdb... restart samba?

Gerald (Jerry) Carter jerry at samba.org
Thu Feb 16 20:32:00 GMT 2006


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

Joe Konecny wrote:

>>> 1. Do I need to restart smbd and nmbd to make these
>>> changes take effect?
>>>
>>> 2. If I restart smbd and nmbd will connected users get
>>> disconnected?
>>
>> No.  smbd will pick up the changes.
>>
> 
> My system is leading me to believe otherwise however
> I am on 3.0.4.

You'll have to be more clear.  If you used tdbtool to
remove an entry you bypass any constency checking that
smbd would do for printers and drivers.  So you could
say delete a driver record but the driver name is still
stored in the printer record.

The tdb files trhemselves are mmap()'d so there is no
caching of driver objects in memory.  There was some
caching of printer objects up to 3.0.20 or so.



cheers, jerry
=====================================================================
I live in a Reply-to-All world                -----------------------
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD9OFAIR7qMdg1EfYRAo/IAKC1t/wxWEuk3mxlw49KE9B5r+wASgCgtD5T
NQrU8VkaQ4gIELsvMTubCm8=
=0+Fr
-----END PGP SIGNATURE-----


More information about the samba mailing list