Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
ldb_debug(ldb, LDB_DEBUG_TRACE, "objectguid_modify_record\n");
/* do not manipulate our control entries */
- if (ldb_dn_is_special(req->op.add.message->dn)) {
+ if (ldb_dn_is_special(req->op.mod.message->dn)) {
return ldb_next_request(module, req);
}
struct ldb_request *down_req;
/* do not manipulate our control entries */
- if (ldb_dn_is_special(req->op.mod.message->dn)) {
+ if (ldb_dn_is_special(req->op.rename.olddn)) {
return ldb_next_request(module, req);
}