summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-10-27 13:11:28 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-11-04 16:06:56 +1100
commitadf016e11946a354a140b1c0ed7789160e3af2aa (patch)
tree3512fcbd5e0b9b20c219d7178ed930255f24f9f0 /source4
parentbe5c79cbeca6e0671e0e210087cf06645be4194e (diff)
downloadsamba-adf016e11946a354a140b1c0ed7789160e3af2aa.tar.gz
samba-adf016e11946a354a140b1c0ed7789160e3af2aa.tar.bz2
samba-adf016e11946a354a140b1c0ed7789160e3af2aa.zip
Fix use of wrong union arm in linked_attributes module
This bug occours frequenetly in ldb users because the union so happens to be layed out that this works. However, it is still incorrect usage... Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/linked_attributes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/linked_attributes.c b/source4/dsdb/samdb/ldb_modules/linked_attributes.c
index 190a66cdb3..bafd7e5ecf 100644
--- a/source4/dsdb/samdb/ldb_modules/linked_attributes.c
+++ b/source4/dsdb/samdb/ldb_modules/linked_attributes.c
@@ -177,7 +177,7 @@ static int linked_attributes_add(struct ldb_module *module, struct ldb_request *
int ret;
int i, j;
- if (ldb_dn_is_special(req->op.mod.message->dn)) {
+ if (ldb_dn_is_special(req->op.add.message->dn)) {
/* do not manipulate our control entries */
return ldb_next_request(module, req);
}