In nt_affects_chgrp() check for domadmins *group*, not user. This didn't
trigger an error as nt_affects_chgrp() isn't actually called, see next
commit.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=7933
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
b4_expected=$(echo "$b4_expected" | awk -F: '{print $3}')
echo "$b4_expected"
- echo -n "determining uid of domadmins..."
- af_expected=$(getent passwd domadmins) || exit 1
+ echo -n "determining gid of domadmins..."
+ af_expected=$(getent group domadmins) || exit 1
af_expected=$(echo "$af_expected" | awk -F: '{print $3}')
echo "$af_expected"