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

Michael Tokarev mjt at tls.msk.ru
Sat Nov 19 14:16:04 UTC 2022


So, this boils down to, so far:

This (problematic, fresh) domain:

# wbinfo -s S-1-5-21-880456541-1649917288-23935232-513
PZ\Domain Users 2
# wbinfo -Y S-1-5-21-880456541-1649917288-23935232-513
failed to call wbcSidToGid: WBC_ERR_DOMAIN_NOT_FOUND
Could not convert sid S-1-5-21-880456541-1649917288-23935232-513 to gid

On another, working, domain:

# wbinfo -s S-1-5-21-411424318-379842365-2075518510-513
TLS\Domain Users 2
# wbinfo -Y S-1-5-21-411424318-379842365-2075518510-513

idmap.ldb seems to be having similar information (besides
the domain sid ofcourse)

and now.. after quite some time, without me doing anything,
it shows (on the bad domain):

# wbinfo -Y S-1-5-21-880456541-1649917288-23935232-513

I think this comes from my attempts to add something in

#       idmap config * : backend = tdb
#       idmap config * : range = 3000-3099

which I commented out quite some time ago. Or not - I recreated
the domain with these commented out, so it is again unclear
where it got the 3000 number from.

But still (different id, 512 instead of 513):

# wbinfo -Y S-1-5-21-880456541-1649917288-23935232-512
failed to call wbcSidToGid: WBC_ERR_DOMAIN_NOT_FOUND
Could not convert sid S-1-5-21-880456541-1649917288-23935232-512 to gid

What Is Going On?

Does anyone know if this beast *ever* work? This is a
*fresh* domain, just created...


More information about the samba mailing list