the bug only occurs if you use the idmap ad backend. With backend tdb everything works fine.
I tracked this down to the file /var/run/samba/gencache.tdb. The file lies in a tmpfs and is cleared on every reboot. Winbind uses it to store the sid2uid and sid2gid mapping information in it.
An easy fix is to tell samba to store the file in an other directory. This can be done with "lock directory = /var/cache/samba/" in smb.conf.
Hi everyone,
the bug only occurs if you use the idmap ad backend. With backend tdb everything works fine.
I tracked this down to the file /var/run/ samba/gencache. tdb. The file lies in a tmpfs and is cleared on every reboot. Winbind uses it to store the sid2uid and sid2gid mapping information in it.
An easy fix is to tell samba to store the file in an other directory. This can be done with "lock directory = /var/cache/samba/" in smb.conf.