[Samba] winbind offline login - NT_STATUS_NO_SUCH_USER (0xc0000064)

Rowland Penny rpenny at samba.org
Fri Apr 19 08:26:12 UTC 2019

On Fri, 19 Apr 2019 07:50:28 +0200
Martin Krämer via samba <samba at lists.samba.org> wrote:

> Hi All,
> I tried multiple topics and did some further analyzing regarding this.
> I found that described error below only appears if I restart the
> device when connecting from "online" to "offline".
> If I keep my device running winbind caches the users correctly.
> Based this I found the following bug report:
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1165461
> There the error was tracked down to /var/run/samba/gencache.tdb being
> stored on a temporary file system and due to this being deleted with
> every restart.
> I was able to find that "gencache.tdb" on my Debian 9 systems is
> stored at /run/samba/gencache.tdb being "run" a tempfs, too.
> In the bug report it is described that after changing/adding a new
> setting "lock directory = /var/cache/samba/" in smb.conf everything
> worked again as expected.
> So I did the same and voila ...caching is working even after restarts.

I haven't upgraded to 4.10 yet, but on 4.9.6 (Louis's packages)
gencache.tdb is in /var/cache/samba, has something changed ?

I personally would have used 'cache directory =' , see 'man smb.conf'
for the difference.


More information about the samba mailing list