[Ultrapossum-cvs 974] ultrapossum/module/server 1.17,1.18,slapd.sh

Back to archive index

Masato Taruishi taru****@users*****
2004年 10月 22日 (金) 02:34:08 JST


===================================================================
RCS file: ultrapossum/module/server/slapd.sh,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ultrapossum/module/server/slapd.sh	2004/10/21 12:05:40	1.17
+++ ultrapossum/module/server/slapd.sh	2004/10/21 17:34:08	1.18
@@ -147,13 +147,6 @@
 
 slave() {
   common
-  if test "x$SLAVES$ANOTHER_MASTER" != "x" || include "$HOST" "$SYNCBACKUPS"; then
-    echo "# Replication"
-    echo "updatedn \"$UPDATEDN\""
-    if test "x$UPDATEREF" != "x"; then
-      echo "updateref $UPDATEREF"
-    fi
-  fi
   if include "$HOST" "$SYNCREPLS"; then
     echo "syncrepl rid=$SYNCREPLRID"
     echo "	provider=$UPDATEREF"
@@ -206,6 +199,15 @@
       echo "	starttls=$REPLICASTARTTLS"
     fi
     echo ""
+  fi
+  if test "x$SLAVES$ANOTHER_MASTER" != "x" || include "$HOST" "$SYNCBACKUPS"; then
+    echo "# Replication"
+    if ! include "$HOST" "$SYNCREPLS"; then
+      echo "updatedn \"$UPDATEDN\""
+    fi
+    if test "x$UPDATEREF" != "x"; then
+      echo "updateref $UPDATEREF"
+    fi
   fi
 }
 



Ultrapossum-cvs メーリングリストの案内
Back to archive index