From 4cfa3745e864e5a7fbf61c2d7cde005b5fe1eff5 Mon Sep 17 00:00:00 2001 From: William Brown Date: Jun 11 2020 23:45:20 +0000 Subject: Ticket 51140 - missing ifdef Bug Description: entryuuid syntax was added when rust is not enabled. Fix Description: Add the missing ifdef https://pagure.io/389-ds-base/issue/51140 Author: William Brown Review by: ??? --- diff --git a/ldap/servers/slapd/config.c b/ldap/servers/slapd/config.c index bf54762..80e5ec4 100644 --- a/ldap/servers/slapd/config.c +++ b/ldap/servers/slapd/config.c @@ -49,6 +49,7 @@ static char *bootstrap_plugins[] = { "nsslapd-plugintype: pwdstoragescheme\n" "nsslapd-pluginenabled: on", +#ifdef RUST_ENABLE "dn: cn=entryuuid_syntax,cn=plugins,cn=config\n" "objectclass: top\n" "objectclass: nsSlapdPlugin\n" @@ -61,6 +62,7 @@ static char *bootstrap_plugins[] = { "nsslapd-pluginVersion: none\n" "nsslapd-pluginVendor: 389 Project\n" "nsslapd-pluginDescription: entryuuid_syntax\n", +#endif NULL };