Does changing Samba idmap backend to rid affect existing file ownership?

Solution Verified - Updated -

Issue

  • The following configuration is implemented in the Samba configuration file /etc/samba/smb.conf, for an environment using Samba Winbind and a single domain in Microsoft Active Directory.

    idmap config * : range = 10000-999999
    idmap config * : backend = tdb
    
  • If the configuration file is modified to create separate domains and the backend is changed to rid, will the owner and group of existing files be maintained?

    idmap config * : range = 10000-999999
    idmap config * : backend = tdb
    idmap config DOMAIN1 : range = 1000000-19999999
    idmap config DOMAIN1 : backend = rid
    idmap config DOMAIN2 : range = 20000000-21000000
    idmap config DOMAIN2 : backend = rid
    

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content