From: Ralph Boehme Date: Wed, 11 Apr 2018 15:07:54 +0000 (+0200) Subject: dbwrap: convert dbwrap_store_bystring_upper() from TDB to DBWRAP flags X-Git-Tag: talloc-2.5.0~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33893b9386874f2a3eb440883be20df89b1d246b;p=thirdparty%2Fsamba.git dbwrap: convert dbwrap_store_bystring_upper() from TDB to DBWRAP flags Signed-off-by: Ralph Boehme Reviewed-by: Martin Schwenke --- diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c index e39c8f2850f..74e98ec3865 100644 --- a/source3/printing/printer_list.c +++ b/source3/printing/printer_list.c @@ -217,7 +217,7 @@ NTSTATUS printer_list_set_printer(TALLOC_CTX *mem_ctx, comment, location); - status = dbwrap_store_bystring_upper(db, key, data, TDB_REPLACE); + status = dbwrap_store_bystring_upper(db, key, data, DBWRAP_REPLACE); done: TALLOC_FREE(key); diff --git a/source3/registry/reg_objects.c b/source3/registry/reg_objects.c index 20556b1a174..d0c24058ce5 100644 --- a/source3/registry/reg_objects.c +++ b/source3/registry/reg_objects.c @@ -142,7 +142,7 @@ static WERROR regsubkey_ctr_hash_keyname(struct regsubkey_ctr *ctr, keyname, make_tdb_data((uint8_t *)&idx, sizeof(idx)), - TDB_REPLACE)); + DBWRAP_REPLACE)); if (!W_ERROR_IS_OK(werr)) { DEBUG(1, ("error hashing new key '%s' in container: %s\n", keyname, win_errstr(werr)));