diff options
author | sbose <sbose@ipa18-devel.ipa18.devel> | 2013-02-11 15:39:22 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-02-14 10:11:26 +0100 |
commit | 3f8778890e1a62d251f7069ead981d088c014b16 (patch) | |
tree | a11961f4c34e2999093ae6d8e2db521fd7e6c830 /ipalib/plugins/idrange.py | |
parent | dfad4396ffa9d47dc9effb832f05f1b9f7c36582 (diff) | |
download | freeipa-3f8778890e1a62d251f7069ead981d088c014b16.tar.gz freeipa-3f8778890e1a62d251f7069ead981d088c014b16.tar.xz freeipa-3f8778890e1a62d251f7069ead981d088c014b16.zip |
ipa-kdb: Free talloc autofree context when module is closed
Currently kdb5kdc crashes on exit if the ipadb KDB modules is loaded and trusts
are configured. The reason is the talloc autofree context which get initialised
during the ndr_push_union_blob() call. On exit the KDC module is unloaded an
later on atexit() tries to free the context, but all related symbols are
already unloaded with the module.
This patch frees the talloc autofree context during the cleanup routine of the
module. Since this is called only at exit and not during normal operations this
is safe even if other KDC plugins use the talloc autofree context, e.g. via
some Samba libraries, as well.
Fixes https://fedorahosted.org/freeipa/ticket/3410
Diffstat (limited to 'ipalib/plugins/idrange.py')
0 files changed, 0 insertions, 0 deletions