[Samba] Samba fileserver member corrupt smb.ldb after joining 4.8.4 Samba DC

Rowland Penny rpenny at samba.org
Sat Aug 25 07:26:14 UTC 2018


On Fri, 24 Aug 2018 23:41:54 +0200
Waishon <waishon009 at gmail.com> wrote:

> Hi again,
> 
> I think I found out something interesting:
> When running "ntacl get" with debug = 10, I get the following output
> on the machine where it works:
> 
> posix_get_nt_acl: called for file /srv/profiles/
> Opening cache file at /var/cache/samba/gencache.tdb
> Opening cache file at /var/run/samba/gencache_notrans.tdb
> uid 0 -> sid S-1-22-1-0 <12210>
> gid 100513 -> sid S-1-5-21-3981408749-3007518722-157077061-513
> canonicalise_acl: Access ace entries before arrange :
> 
> And this is the output when it won't work:
> 
> Opening cache file at /var/cache/samba/gencache.tdb
> 
> Opening cache file at /var/run/samba/gencache_notrans.tdb
> 
> uid_to_sid: winbind failed to find a sid for uid 0
> 
> Attempting to register passdb backend smbpasswd
> 
> So it seems that winbind isn't able to find a matching group for the
> uid 0 (root). Why is this the case?
> 
> wbinfo --uid-info=0 show on both systems the same output:
> 
> failed to call wbcGetpwuid: WBC_ERR_DOMAIN_NOT_FOUND
> 
> Could not get info for uid 0
> 
> 

What is in 'user.map' ?

Rowland



More information about the samba mailing list