Masato Taruishi
taru****@users*****
2004年 10月 23日 (土) 01:43:05 JST
=================================================================== RCS file: ultrapossum/module/server/slapd.sh,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- ultrapossum/module/server/slapd.sh 2004/10/21 17:34:08 1.18 +++ ultrapossum/module/server/slapd.sh 2004/10/22 16:43:05 1.19 @@ -178,6 +178,8 @@ echo "" fi if include "$HOST" "$SYNCBACKUPS"; then + # set updatedn directive for syncbackup bug + echo "updatedn \"$UPDATEDN\"" echo "syncbackup syncid=$HOST" echo " provider=$UPDATEREF" case "x$APPDNMODE" in @@ -202,12 +204,16 @@ fi if test "x$SLAVES$ANOTHER_MASTER" != "x" || include "$HOST" "$SYNCBACKUPS"; then echo "# Replication" - if ! include "$HOST" "$SYNCREPLS"; then + + # updatedn directive is used only when si_updatedn not used + if ! include "$HOST" "$SYNCREPLS $SYNCBACKUPS" ; then echo "updatedn \"$UPDATEDN\"" fi + if test "x$UPDATEREF" != "x"; then echo "updateref $UPDATEREF" fi + fi }