diff options
Diffstat (limited to 'source4/ntptr')
-rw-r--r-- | source4/ntptr/simple_ldb/ntptr_simple_ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c index 5849df9c04..27ab6dec6d 100644 --- a/source4/ntptr/simple_ldb/ntptr_simple_ldb.c +++ b/source4/ntptr/simple_ldb/ntptr_simple_ldb.c @@ -76,7 +76,7 @@ static int sptr_db_search(struct ldb_context *ldb, #define SET_STRING(ldb, mod, attr, value) do { \ if (value == NULL) return WERR_INVALID_PARAM; \ - if (samdb_msg_add_string(ldb, (TALLOC_CTX *)mod, mod, attr, value) != LDB_SUCCESS) { \ + if (ldb_msg_add_string(mod, attr, value) != LDB_SUCCESS) { \ return WERR_NOMEM; \ } \ } while (0) |