summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-01-27 16:38:25 +0100
committerStefan Metzmacher <metze@samba.org>2014-02-07 16:06:07 +0100
commit7e766a0a8ade1f018015684c22bda82595a33d38 (patch)
tree4509a8c1ad30a5f509f6cbbad094e7d975298844 /auth
parente4fbaadb5cadaa584f455d624eafe706703cda1a (diff)
downloadsamba-7e766a0a8ade1f018015684c22bda82595a33d38.tar.gz
dbwrap: add dbwrap_flags argument to dbwrap_local_open()
To be consistent with db_open() and prepare for future possible extensions. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth')
-rw-r--r--auth/credentials/credentials_secrets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth/credentials/credentials_secrets.c b/auth/credentials/credentials_secrets.c
index 6c1cded4cbc..9fad104bdb8 100644
--- a/auth/credentials/credentials_secrets.c
+++ b/auth/credentials/credentials_secrets.c
@@ -255,7 +255,8 @@ _PUBLIC_ NTSTATUS cli_credentials_set_machine_account(struct cli_credentials *cr
db_ctx = dbwrap_local_open(cred, lp_ctx, secrets_tdb, 0,
TDB_DEFAULT, O_RDWR, 0600,
- DBWRAP_LOCK_ORDER_1);
+ DBWRAP_LOCK_ORDER_1,
+ DBWRAP_FLAG_NONE);
/* Bleh, nasty recursion issues: We are setting a machine
* account here, so we don't want the 'pending' flag around
* any more */