0ce21ac ipa-client-automount: add knob to configure NFSv4 Domain (idmapd.conf)

Authored and Committed by François Cami 4 years ago
    ipa-client-automount: add knob to configure NFSv4 Domain (idmapd.conf)
    
    ipa-client-automount assumes the NFS domain to be the same as the IPA domain.
    This is not always the case.
    This commit adds a --idmap-domain knob with the following behavior:
    - if not present, default to IDM domain (current behavior)
    - if equal to DNS (magic value), set nothing and let idmapd autodetect domain
    - otherwise set Domain in idmap.conf to the value passed by this parameter
    
    Fixes: https://pagure.io/freeipa/issue/7918
    Signed-off-by: François Cami <fcami@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>
    
        
file modified
+46 -28