Don't add another nsDS5ReplicaId on updates if one already exists

Modify update file to use default: rather than add: in
cn=replication,cn=etc,$SUFFIX.

Drop quotes around nsDS5ReplicaRoot because default: values
are not parsed as CSV.

https://fedorahosted.org/freeipa/ticket/3394
This commit is contained in:
Petr Viktorin 2013-02-05 06:47:30 -05:00 committed by Martin Kosek
parent 53c94361d6
commit b27267b00a

View File

@ -4,6 +4,6 @@
# Start at 3 to avoid conflicts with v1.0 replica ids. The value itself
# isn't important but each replica needs a unique id.
dn: cn=replication,cn=etc,$SUFFIX
add: objectclass: nsDS5Replica
add: nsDS5ReplicaId: 3
add: nsDS5ReplicaRoot: '$SUFFIX'
default: objectclass: nsDS5Replica
default: nsDS5ReplicaId: 3
default: nsDS5ReplicaRoot: $SUFFIX