diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-10-11 16:43:07 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-10-11 13:02:15 +0000 |
commit | 5cd9495fb3f74d8e896c81e5c060a1643722870e (patch) | |
tree | accf27ddb2a3e04abe2a10b8340c7ff08ccfee34 /source4/auth/credentials | |
parent | baeaa179868fedb797df811bdf4d4a87bf604b8c (diff) | |
download | samba-5cd9495fb3f74d8e896c81e5c060a1643722870e.tar.gz samba-5cd9495fb3f74d8e896c81e5c060a1643722870e.tar.bz2 samba-5cd9495fb3f74d8e896c81e5c060a1643722870e.zip |
s4-param Refactor secrets code to not require an event context.
A new event context is constructed by LDB when required for secrets.ldb
This will be essentially unused, as LDB on TDB will only trigger 'fake'
events, and blocks on transactions and lock operations anyway.
Andrew Bartlett
Diffstat (limited to 'source4/auth/credentials')
-rw-r--r-- | source4/auth/credentials/credentials_secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials_secrets.c b/source4/auth/credentials/credentials_secrets.c index d68ed33a31..9ffc39c0c3 100644 --- a/source4/auth/credentials/credentials_secrets.c +++ b/source4/auth/credentials/credentials_secrets.c @@ -74,7 +74,7 @@ _PUBLIC_ NTSTATUS cli_credentials_set_secrets(struct cli_credentials *cred, if (!ldb) { /* Local secrets are stored in secrets.ldb */ - ldb = secrets_db_connect(mem_ctx, event_ctx, lp_ctx); + ldb = secrets_db_connect(mem_ctx, lp_ctx); if (!ldb) { /* set anonymous as the fallback, if the machine account won't work */ cli_credentials_set_anonymous(cred); |