From 6d7133186a0415b60019eaa7dc32c3ec5bd3e201 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 9 Jun 2008 20:28:20 +0000 Subject: Use case insensitive matches for attribute names --- plugin/dnsnotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/dnsnotify.c') diff --git a/plugin/dnsnotify.c b/plugin/dnsnotify.c index d610414..fd9d722 100644 --- a/plugin/dnsnotify.c +++ b/plugin/dnsnotify.c @@ -322,7 +322,7 @@ dnsnotify_post_modify (const char *dn, LDAPMod **mods) for (m = mods; *m; ++m) { mod = *m; trace (mod->mod_type); - if (strcmp (mod->mod_type, dnsnotify_soa_attribute) == 0) { + if (strcasecmp (mod->mod_type, dnsnotify_soa_attribute) == 0) { if (load_soa_ns_attributes (dn, &soa, &ns)) { notify_dns_slaves (soa, ns); slapi_ch_array_free (ns); -- cgit v1.2.3