4ba8886 Set idmap config for Samba to follow IPA ranges and use SSSD

2 files Authored by abbra 4 years ago, Committed by rcritten 4 years ago,
    Set idmap config for Samba to follow IPA ranges and use SSSD
    
    Implicit idmap configuration in Samba was changed in Samba 4.7 to always
    require range definition. A default ('*') idmap configuration lacks any
    range and thus is marked by testparm utility as invalid one.
    
    Since we do not expect Samba allocating any IDs, idmap configuration
    needs to be set in a such way that it is correct from Samba side and is
    effectively disabling any allocation on those domains that we don't need
    to handle.
    
    Note that 'idmap config <domain> : range' parameter accepts range in a
    special format with spaces 'begin - end', so we have to keep the
    formatting of the range exact.
    
    Related: https://pagure.io/freeipa/issue/6951
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>