[Samba] switching winbind's ad without reboot?

Chris Weiss cweiss at gmail.com
Wed Nov 10 13:08:15 MST 2010


On Wed, Nov 10, 2010 at 2:00 PM, John Stile <john at stilen.com> wrote:
> I found a way to change the AD for winbind without rebooting on Debian
> and Gentoo, however I wonder if this is a bug.
>
> First I stop smbd, nmbd, windbindd if they are running.
>
> Then I remove some files.
> On Debian, I removed:
>  /var/run/samba/smb_krb5/krb5.conf.MS
>  /var/run/samba/gencache.tdb
> On Gentoo, I removed:
>  /var/cache/samba/smb_krb5/krb5.conf.MS
>  /var/cache/samba/gencache.tdb
>

was similar for NT4 domains, even a `net rpc join` doesn't reset the
local secrets.tdb so the join to a new domain won't actually work
unless you delete it first.


More information about the samba mailing list