diff options
author | Ludwig Krispenz <lkrispen@redhat.com> | 2015-05-29 16:12:44 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2015-06-02 14:05:32 +0200 |
commit | faa4d0b6ea6e911c1098b070d1959b3106d5b5b2 (patch) | |
tree | a1d9f3e897ae5c5b38075639b5dff344aec9090e /daemons/ipa-slapi-plugins/topology/topology_init.c | |
parent | af8f44c86ab37d83b952c0f021c6509c48be7da8 (diff) | |
download | freeipa-faa4d0b6ea6e911c1098b070d1959b3106d5b5b2.tar.gz freeipa-faa4d0b6ea6e911c1098b070d1959b3106d5b5b2.tar.xz freeipa-faa4d0b6ea6e911c1098b070d1959b3106d5b5b2.zip |
replica install fails with domain level 1
when updating an replication agreement from a toplogy segment an incorrect default value was used for bindmethod.
Only attributes explicitely set in the segment should be applied.
At shutdown the server could crash because the plugin was called after it was stopped.
https://fedorahosted.org/freeipa/ticket/5035
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
Diffstat (limited to 'daemons/ipa-slapi-plugins/topology/topology_init.c')
-rw-r--r-- | daemons/ipa-slapi-plugins/topology/topology_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-slapi-plugins/topology/topology_init.c b/daemons/ipa-slapi-plugins/topology/topology_init.c index f45086760..77e740ea1 100644 --- a/daemons/ipa-slapi-plugins/topology/topology_init.c +++ b/daemons/ipa-slapi-plugins/topology/topology_init.c @@ -225,12 +225,12 @@ static int ipa_topo_close(Slapi_PBlock * pb) { + ipa_topo_set_plugin_active(0); slapi_config_remove_callback(SLAPI_OPERATION_SEARCH, DSE_FLAG_PREOP, "", LDAP_SCOPE_BASE, "(objectclass=*)", ipa_topo_rootdse_search); slapi_unregister_backend_state_change((void *)ipa_topo_be_state_change); ipa_topo_free_plugin_config(); return 0; - } static int ipa_topo_rootdse_init(Slapi_PBlock *pb) |