[Samba] Can gencache.tdb be deletely at will?

David Landgren landgren at gmail.com
Thu Feb 23 11:54:42 GMT 2006


On 2/22/06, Gerald (Jerry) Carter <jerry at samba.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 22 Feb 2006, David Landgren wrote:
>
> > When I look at the client smbd log file, I see that the printer server
> > is trying to open a connection to the IP address that corresponds to
> > the address the client had when it connects via the VPN tunnel,
> > instead of the address it currently has. I've even reconnected the PC
> > via the VPN, where it acquired a different VPN address, but when I
> > bring the PC back inside the corporate network, the old VPN address
> > continues to pop up in the client Samba log.
>
> Try reducing the 'name cache timeout' in smb.conf.

That had no effect. (The server is running 3.0.20 btw). Eventually we
pulled the machine out of the domain, renamed the NetBIOS and inserted
it back into the domain with the new name, which is a bit severe but
it appears to have corrected the symptoms, even if I don't understand
the underlying cause.

But the question remains... can one delete the gencache.tdb file when
Samba is halted with no ill effects? I would imagine so, but it would
be nice to have the confirmation from a voice of authority.

Thanks,
Daid


More information about the samba mailing list