git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dsdb: Use ldb_attr_cmp() for comparing objectclass names
[obnox/samba/samba-obnox.git]
/
source4
/
dsdb
/
samdb
/
ldb_modules
/
dns_notify.c
diff --git
a/source4/dsdb/samdb/ldb_modules/dns_notify.c
b/source4/dsdb/samdb/ldb_modules/dns_notify.c
index 28a1be960cac0eefaeba73a9d9eade3965ea8762..2d3ed86163bdc14f16f88bc0698a26f783c8af78 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/dns_notify.c
+++ b/
source4/dsdb/samdb/ldb_modules/dns_notify.c
@@
-160,7
+160,7
@@
static int dns_notify_add(struct ldb_module *module, struct ldb_request *req)
return ldb_operr(ldb);
}
return ldb_operr(ldb);
}
- if (
strcase
cmp(objectclass->lDAPDisplayName, "dnsZone") == 0) {
+ if (
ldb_attr_
cmp(objectclass->lDAPDisplayName, "dnsZone") == 0) {
data->reload_zones = true;
break;
}
data->reload_zones = true;
break;
}
@@
-233,7
+233,7
@@
static int dns_notify_modify(struct ldb_module *module, struct ldb_request *req)
return ldb_operr(ldb);
}
return ldb_operr(ldb);
}
- if (
strcase
cmp(objectclass->lDAPDisplayName, "dnsZone") == 0) {
+ if (
ldb_attr_
cmp(objectclass->lDAPDisplayName, "dnsZone") == 0) {
data->reload_zones = true;
break;
}
data->reload_zones = true;
break;
}
@@
-306,7
+306,7
@@
static int dns_notify_delete(struct ldb_module *module, struct ldb_request *req)
return ldb_operr(ldb);
}
return ldb_operr(ldb);
}
- if (
strcase
cmp(objectclass->lDAPDisplayName, "dnsZone") == 0) {
+ if (
ldb_attr_
cmp(objectclass->lDAPDisplayName, "dnsZone") == 0) {
data->reload_zones = true;
break;
}
data->reload_zones = true;
break;
}