fc9840d test_smb: make sure both smbserver and smbclient use IPA master for DNS

1 file Authored by abbra 3 years ago, Committed by frenaud 3 years ago,
    test_smb: make sure both smbserver and smbclient use IPA master for DNS
    
    test_smb test suite sets up IPA master, AD forest, and two clients.
    The clients are used as an SMB server and an SMB client and they need to
    resolve and authenticate AD users with Kerberos.
    
    Previously, the test only configured SMB client to use IPA master as its
    DNS server. SMB server wasn't using IPA master and thus any attempt to
    resolve SRV records from AD DNS zone was failing.
    
    Make sure that both SMB client's and SMB server's DNS resolution is set
    up in the same way.
    
    Fixes: https://pagure.io/freeipa/issue/8344
    
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Francois Cami <fcami@redhat.com>
    Reviewed-By: Sergey Orlov <sorlov@redhat.com>