]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9576 Populate ca_desc for EMIT too
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 6 Dec 2021 14:25:30 +0000 (14:25 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 14 Dec 2021 19:22:48 +0000 (19:22 +0000)
servers/slapd/bconfig.c

index f69177a100e69764bfbdfdd95494a0e93bff1648..4377f46e6d2abd37d4a390f19c9f519d59aab60e 100644 (file)
@@ -6864,6 +6864,7 @@ config_build_attrs( Entry *e, AttributeType **at, AttributeDescription *ad,
                        continue;
                for (i=0;ct[i].name;i++) {
                        if (ct[i].ad == (*at)->sat_ad) {
+                               c->ca_desc = &ct[i];
                                rc = config_get_vals(&ct[i], c);
                                /* NOTE: tolerate that config_get_vals()
                                 * returns success with no values */