[Samba] samba crashes windows explorer (while trying to view file permissions)

Michael Tokarev mjt at tls.msk.ru
Sat Nov 19 11:49:19 UTC 2022

19.11.2022 14:36, Michael Tokarev via samba пишет:
> Unable to convert second SID (S-1-5-21-540662649-332824406-1706519170-513) in user token to a GID. Conversion was returned as type 0, full token:

I found this:


which shows an issue with idmap.ldb.

But in my case this is a fresh domain, created with nothing in /var/lib/samba/,
so I can't restore idmap.ldb from a backup, - because this file has just been
created (and no, I didn't try to replicate it to another DC yet, to fix the
uid/gid mismatches there as has been mentioned in another thread).

 From tdbdump /var/lib/samba/private/idmap.ldb:

key(50) = "DN=CN=S-1-5-21-540662649-332824406-1706519170-513\00"
data(231) = 

- which - I think - should match, no?



More information about the samba mailing list