diff options
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/share_ldb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/param/share_ldb.c b/source4/param/share_ldb.c index ac56b950c8..62b529e6cf 100644 --- a/source4/param/share_ldb.c +++ b/source4/param/share_ldb.c @@ -280,7 +280,7 @@ static NTSTATUS sldb_get_config(TALLOC_CTX *mem_ctx, } } while(0) #define SHARE_ADD_BLOB(name, value) do { \ - err = ldb_msg_add_value(msg, name, value); \ + err = ldb_msg_add_value(msg, name, value, NULL); \ if (err != LDB_SUCCESS) { \ DEBUG(2,("ERROR: unable to add blob share option %s to ldb msg\n", name)); \ ret = NT_STATUS_UNSUCCESSFUL; \ @@ -383,7 +383,7 @@ done: } #define SHARE_MOD_STRING(name, value) do { \ - err = ldb_msg_add_empty(msg, name, LDB_FLAG_MOD_REPLACE); \ + err = ldb_msg_add_empty(msg, name, LDB_FLAG_MOD_REPLACE, NULL); \ if (err != LDB_SUCCESS) { \ DEBUG(2,("ERROR: unable to add string share option %s to ldb msg\n", name)); \ ret = NT_STATUS_UNSUCCESSFUL; \ @@ -397,7 +397,7 @@ done: } } while(0) #define SHARE_MOD_INT(name, value) do { \ - err = ldb_msg_add_empty(msg, name, LDB_FLAG_MOD_REPLACE); \ + err = ldb_msg_add_empty(msg, name, LDB_FLAG_MOD_REPLACE, NULL); \ if (err != LDB_SUCCESS) { \ DEBUG(2,("ERROR: unable to add string share option %s to ldb msg\n", name)); \ ret = NT_STATUS_UNSUCCESSFUL; \ @@ -411,13 +411,13 @@ done: } } while(0) #define SHARE_MOD_BLOB(name, value) do { \ - err = ldb_msg_add_empty(msg, name, LDB_FLAG_MOD_REPLACE); \ + err = ldb_msg_add_empty(msg, name, LDB_FLAG_MOD_REPLACE, NULL); \ if (err != LDB_SUCCESS) { \ DEBUG(2,("ERROR: unable to add string share option %s to ldb msg\n", name)); \ ret = NT_STATUS_UNSUCCESSFUL; \ goto done; \ } \ - err = ldb_msg_add_value(msg, name, value); \ + err = ldb_msg_add_value(msg, name, value, NULL); \ if (err != LDB_SUCCESS) { \ DEBUG(2,("ERROR: unable to add blob share option %s to ldb msg\n", name)); \ ret = NT_STATUS_UNSUCCESSFUL; \ |