diff --git a/alterator-auth/sbin/system-auth b/alterator-auth/sbin/system-auth index c8165a9..e850d6a 100755 --- a/alterator-auth/sbin/system-auth +++ b/alterator-auth/sbin/system-auth @@ -740,6 +740,7 @@ case "$action" in ad) if test -n "$1" ;then test -x "$net_cmd" || fatal "Cannot find $net_cmd executable required to join to Active Directory domain" + write_nsswitch "hosts" "files dns myhostname" # Check domain name in DNS check_domain_in_dns "$1" || exit 1 write_profile "$object" @@ -787,4 +788,3 @@ case "$action" in usage ;; esac -