Masato Taruishi
taru****@users*****
2004年 10月 10日 (日) 21:05:45 JST
=================================================================== RCS file: ultrapossum/module/server/10server,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- ultrapossum/module/server/10server 2004/10/09 06:40:13 1.22 +++ ultrapossum/module/server/10server 2004/10/10 12:05:45 1.23 @@ -120,6 +120,7 @@ SLURPDSLAVES=`ultrapossum_getconf SLURPDSLAVES ""` REPLICALISTENPORT=`ultrapossum_getconf REPLICALISTENPORT ldap` +REPLICASTARTTLS=`ultrapossum_getconf REPLICASTARTTLS ""` # syncbackup variables SLAPD_PROVIDES_SYNCBACKUP=`ultrapossum_getconf SLAPD_PROVIDES_SYNCBACKUP ""` =================================================================== RCS file: ultrapossum/module/server/server.cf,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ultrapossum/module/server/server.cf 2004/10/06 11:23:17 1.13 +++ ultrapossum/module/server/server.cf 2004/10/10 12:05:45 1.14 @@ -68,6 +68,13 @@ #LDAPURILIST="ldap:///" ### +### Replica configuration +### + +# startTLS replication +#REPLICASTARTTLS="yes|critical" + +### ### Slurpd style replica configuration # List of replica servers by slurpd =================================================================== RCS file: ultrapossum/module/server/slapd.sh,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- ultrapossum/module/server/slapd.sh 2004/09/23 08:29:36 1.12 +++ ultrapossum/module/server/slapd.sh 2004/10/10 12:05:45 1.13 @@ -79,6 +79,9 @@ for slave in $SLURPDSLAVES do echo "replica host=$slave:$REPLICALISTENPORT" + if test "x$REPLICASTARTTLS" != "x"; then + echo " starttls=$REPLICASTARTTLS" + fi case "x$APPDNMODE" in xSASL/Digest-MD5) authcid="`echo $UPDATEDN | cut -d, -f1 | cut -d= -f2`@$PACKAGE" @@ -112,6 +115,9 @@ if test "x$HOST" != "x$slave"; then echo "replica host=$slave:$REPLICALISTENPORT" echo " syncid=$slave" + if test "x$REPLICASTARTTLS" != "x"; then + echo " starttls=$REPLICASTARTTLS" + fi case "x$APPDNMODE" in xSASL/Digest-MD5) authcid="`echo $UPDATEDN | cut -d, -f1 | cut -d= -f2`@$PACKAGE"