summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-16 13:22:05 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-16 13:29:49 +0100
commitf863f434a01d49a27b963ec71a86727f0d95dc59 (patch)
tree27801273c6f62ba2ef0ccbed40e5ce21aa7c7a0a /source4/dsdb/samdb
parentcce662763efc2843c3dffeb1d43c12e641ce9949 (diff)
downloadsamba-f863f434a01d49a27b963ec71a86727f0d95dc59.tar.gz
samba-f863f434a01d49a27b963ec71a86727f0d95dc59.tar.bz2
samba-f863f434a01d49a27b963ec71a86727f0d95dc59.zip
s4:objectclass LDB module - the "olddn" is the special DN for rename requests
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index 5a7c67ea31..7dc3ae2e97 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
@@ -1209,7 +1209,7 @@ static int objectclass_rename(struct ldb_module *module, struct ldb_request *req
ldb_debug(ldb, LDB_DEBUG_TRACE, "objectclass_rename\n");
/* do not manipulate our control entries */
- if (ldb_dn_is_special(req->op.rename.newdn)) {
+ if (ldb_dn_is_special(req->op.rename.olddn)) {
return ldb_next_request(module, req);
}