ldap/servers/plugins/dna/dna.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8d9679194c945a6e0b06f6527fba6b4548d4844d
Author: Ludwig Krispenz <lkrispen(a)redhat.com>
Date: Mon Oct 6 17:12:42 2014 +0200
Ticket 47918 - result of dna_dn_is_shared_config is incorrectly used
Bug Description: dna_load_shared_servers() is called for all entries,
except the config entries
Fix Description: revert the logic of the result of dna_dn_is_shared_config()
https://fedorahosted.org/389/ticket/47918
Reviewed by: Mark, Thanks
diff --git a/ldap/servers/plugins/dna/dna.c b/ldap/servers/plugins/dna/dna.c
index b42150a..bc280a4 100644
--- a/ldap/servers/plugins/dna/dna.c
+++ b/ldap/servers/plugins/dna/dna.c
@@ -4163,7 +4163,7 @@ static int dna_config_check_post_op(Slapi_PBlock * pb)
if (dna_dn_is_config(dn)) {
dna_load_plugin_config(pb, 0);
}
- if(dna_dn_is_shared_config(pb, dn) == 0){
+ if(dna_dn_is_shared_config(pb, dn)){
dna_load_shared_servers();
}
}