summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-20 10:23:45 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-20 10:23:45 +0200
commit4b56aa277193f6f27fdbeb4e9d3939cb093aea98 (patch)
treeb3e7dd82a8185c562b1717845f37bbacc43b3ea0 /source4
parenta0b0dc16a6ca63e633f51d079bb76124965d254c (diff)
downloadsamba-4b56aa277193f6f27fdbeb4e9d3939cb093aea98.tar.gz
samba-4b56aa277193f6f27fdbeb4e9d3939cb093aea98.tar.bz2
samba-4b56aa277193f6f27fdbeb4e9d3939cb093aea98.zip
s4:operational LDB module - fix warnings (missing parameters, unused variable)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index d51a8588bb..42cbea7449 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -378,7 +378,8 @@ static int construct_msds_isrodc_with_computer_dn(struct ldb_module *module,
/*
construct msDS-isRODC attr
*/
-static int construct_msds_isrodc(struct ldb_module *module, struct ldb_message *msg)
+static int construct_msds_isrodc(struct ldb_module *module,
+ struct ldb_message *msg, enum ldb_scope scope)
{
struct ldb_message_element * object_class;
struct ldb_message_element * object_category;
@@ -429,13 +430,14 @@ static int construct_msds_isrodc(struct ldb_module *module, struct ldb_message *
TODO: Make this based on the 'win2k' DS huristics bit...
*/
-static int construct_msds_keyversionnumber(struct ldb_module *module, struct ldb_message *msg)
+static int construct_msds_keyversionnumber(struct ldb_module *module,
+ struct ldb_message *msg,
+ enum ldb_scope scope)
{
uint32_t i;
enum ndr_err_code ndr_err;
const struct ldb_val *omd_value;
struct replPropertyMetaDataBlob *omd;
- struct ldb_context *ldb = ldb_module_get_ctx(module);
omd_value = ldb_msg_find_ldb_val(msg, "replPropertyMetaData");
if (!omd_value) {