Masato Taruishi
taru****@users*****
2004年 9月 17日 (金) 16:10:31 JST
=================================================================== RCS file: ultrapossum/module/server/10server,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- ultrapossum/module/server/10server 2004/09/16 18:30:13 1.10 +++ ultrapossum/module/server/10server 2004/09/17 07:10:31 1.11 @@ -247,6 +247,17 @@ SLAPROOTPW="XXXXXXXX" fi +if test "x$MASTER" = "x$HOST" || test "x$BACKUP" = "x$HOST" || include "$HOST" "$SYNCBACKUPS"; then + TYPE=master +else + for s in $SLAVES + do + if test "x$s" = "x$HOST"; then + TYPE=slave + fi + done +fi + fi ACLAPPDNREGEX=".*,$APPLICATION"