[Samba] How do I fix Samba ID mapping that I got wrong?
rpenny at samba.org
Thu Feb 14 13:36:27 UTC 2019
On Thu, 14 Feb 2019 12:49:53 +0000
Thomas Wootten via samba <samba at lists.samba.org> wrote:
> On a member server in a Samba Active Directory I made a typo in
> smb.conf resulting in the ID mapping being not what I wanted. I've
> fixed the config file and restarted smbd/nmbd/winbind but users and
> groups that were already used still have the incorrect ID mapping.
> How can I fix this? I've searched for "samba reset idmap" and "samba
> fix idmap" but not found anything useful.
> The files and permissions on the problem server's shares are not
> important (it's just a copy of what's on another).
> My correct idmap configuration is:
> idmap config * : backend = tdb
> idmap config * : range = 3000-7999
> idmap config EBCFAD : backend = rid
> idmap config EBCFAD : range = 10000-999999
> getent from a correctly configured member server:
> root at fs2a:/srv/samba# getent passwd "EBCFAD\ts"
> And from the problem server:
Try 'net cache flush'
More information about the samba