diff options
author | Michael Adam <obnox@samba.org> | 2014-01-27 16:38:25 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | 7e766a0a8ade1f018015684c22bda82595a33d38 (patch) | |
tree | 4509a8c1ad30a5f509f6cbbad094e7d975298844 /auth | |
parent | e4fbaadb5cadaa584f455d624eafe706703cda1a (diff) | |
download | samba-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.c | 3 |
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 */ |