mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 08:51:50 -06:00
1d3ddeff54
The new merged database will replicate with both the IPA and CA trees, so all DS instances (IPA and CA on the existing master, and the merged one on the replica) need to have the same schema. Dogtag does all its schema modifications online. Those are replicated normally. The basic IPA schema, however, is delivered in ldif files, which are not replicated. The files are not present on old CA DS instances. Any schema update that references objects in these files will fail. The whole 99user.ldif (i.e. changes introduced dynamically over LDAP) is replicated as a blob. If we updated the old master's CA schema dynamically during replica install, it would conflict with updates done during the installation: the one with the lower CSN would get lost. Dogtag's spawn script recently grew a new flag, 'pki_clone_replicate_schema'. Turning it off tells Dogtag to create its schema in the clone, where the IPA modifications are taking place, so that it is not overwritten by the IPA schema on replication. The patch solves the problems by: - In __spawn_instance, turning off the pki_clone_replicate_schema flag. - Providing a script to copy the IPA schema files to the CA DS instance. The script needs to be copied to old masters and run there. - At replica CA install, checking if the schema is updated, and failing if not. The --skip-schema-check option is added to ipa-{replica,ca}-install to override the check. All pre-3.1 CA servers in a domain will have to have the script run on them to avoid schema replication errors. https://fedorahosted.org/freeipa/ticket/3213
73 lines
1.5 KiB
Makefile
73 lines
1.5 KiB
Makefile
NULL =
|
|
|
|
appdir = $(IPA_DATA_DIR)
|
|
app_DATA = \
|
|
05rfc2247.ldif \
|
|
60kerberos.ldif \
|
|
60samba.ldif \
|
|
60ipaconfig.ldif \
|
|
60basev2.ldif \
|
|
60basev3.ldif \
|
|
60ipadns.ldif \
|
|
61kerberos-ipav3.ldif \
|
|
65ipasudo.ldif \
|
|
anonymous-vlv.ldif \
|
|
bootstrap-template.ldif \
|
|
caJarSigningCert.cfg.template \
|
|
default-aci.ldif \
|
|
default-hbac.ldif \
|
|
default-smb-group.ldif \
|
|
delegation.ldif \
|
|
disable-betxn.ldif \
|
|
replica-acis.ldif \
|
|
ds-nfiles.ldif \
|
|
dns.ldif \
|
|
kerberos.ldif \
|
|
indices.ldif \
|
|
bind.named.conf.template \
|
|
bind.zone.db.template \
|
|
certmap.conf.template \
|
|
kdc.conf.template \
|
|
kdc_extensions.template \
|
|
kdc_req.conf.template \
|
|
krb5.conf.template \
|
|
krb5.ini.template \
|
|
krb.con.template \
|
|
krb.js.template \
|
|
krbrealm.con.template \
|
|
preferences.html.template \
|
|
smb.conf.template \
|
|
smb.conf.empty \
|
|
referint-conf.ldif \
|
|
dna.ldif \
|
|
master-entry.ldif \
|
|
memberof-task.ldif \
|
|
memberof-conf.ldif \
|
|
nis.uldif \
|
|
unique-attributes.ldif \
|
|
schema_compat.uldif \
|
|
ldapi.ldif \
|
|
wsgi.py \
|
|
repoint-managed-entries.ldif \
|
|
managed-entries.ldif \
|
|
user_private_groups.ldif \
|
|
host_nis_groups.ldif \
|
|
uuid-ipauniqueid.ldif \
|
|
modrdn-krbprinc.ldif \
|
|
entryusn.ldif \
|
|
root-autobind.ldif \
|
|
sudobind.ldif \
|
|
automember.ldif \
|
|
replica-automember.ldif \
|
|
replica-s4u2proxy.ldif \
|
|
copy-schema-to-ca.py \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
$(app_DATA) \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
*~ \
|
|
Makefile.in
|