4190. [protocol] Accept Active Diretory gc._msdcs.<forest> name as

valid with check-names.  <forest> still needs to be
                        LDH. [RT #40399]

(cherry picked from commit dc3912f3ca)
This commit is contained in:
Mark Andrews
2015-08-22 15:27:33 +10:00
parent d7ef667588
commit fea8a9d56b
8 changed files with 74 additions and 7 deletions

View File

@@ -24,7 +24,14 @@ for db in zones/good*.db
do
echo "I:checking $db ($n)"
ret=0
$CHECKZONE -i local example $db > test.out.$n 2>&1 || ret=1
case $db in
zones/good-gc-msdcs.db)
$CHECKZONE -k fail -i local example $db > test.out.$n 2>&1 || ret=1
;;
*)
$CHECKZONE -i local example $db > test.out.$n 2>&1 || ret=1
;;
esac
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`