summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-16 16:43:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:07:25 -0500
commit12f377c638d118da58f2f2802baf28961a631f0f (patch)
tree4db55a974f4cd5cb6c4016ac7ce90f1c88a69a08 /source4/dsdb
parentbb58d8497abe7178677c58e9dae307c44babbcef (diff)
downloadsamba-12f377c638d118da58f2f2802baf28961a631f0f.tar.gz
samba-12f377c638d118da58f2f2802baf28961a631f0f.tar.bz2
samba-12f377c638d118da58f2f2802baf28961a631f0f.zip
r15639: fix warnings
metze (This used to be commit 73ca71b42b20c9cc0acba8caecc24b07624c4abc)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectguid.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectguid.c b/source4/dsdb/samdb/ldb_modules/objectguid.c
index 699f04775c..71591f187f 100644
--- a/source4/dsdb/samdb/ldb_modules/objectguid.c
+++ b/source4/dsdb/samdb/ldb_modules/objectguid.c
@@ -53,7 +53,7 @@ static struct ldb_message_element *objectguid_find_attribute(const struct ldb_me
/* add_record: add objectGUID attribute */
static int objectguid_add(struct ldb_module *module, struct ldb_request *req)
{
- const struct ldb_message *msg = req->op.add.message;
+ struct ldb_message *msg = req->op.add.message;
struct ldb_val v;
struct ldb_message *msg2;
struct ldb_message_element *attribute;
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index f8a151ddda..31cf6143a1 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -751,7 +751,7 @@ static int samldb_fill_foreignSecurityPrincipal_object(struct ldb_module *module
/* add_record */
static int samldb_add(struct ldb_module *module, struct ldb_request *req)
{
- const struct ldb_message *msg = req->op.add.message;
+ struct ldb_message *msg = req->op.add.message;
struct ldb_message *msg2 = NULL;
int ret;