summaryrefslogtreecommitdiffstats
path: root/source3/passdb
diff options
context:
space:
mode:
authorRichard Sharpe <realrichardsharpe@gmail.com>2015-02-12 18:22:17 -0800
committerVolker Lendecke <vl@samba.org>2015-02-13 23:29:53 +0100
commit9077fc79d427aff3ca0959cd0214f6d2385d8a51 (patch)
treef675debb21d8e182aeeba2647a534343ed244e31 /source3/passdb
parent14cbc791ee70316889d568c4ab2cc6424235aedc (diff)
downloadsamba-9077fc79d427aff3ca0959cd0214f6d2385d8a51.tar.gz
samba-9077fc79d427aff3ca0959cd0214f6d2385d8a51.tar.xz
samba-9077fc79d427aff3ca0959cd0214f6d2385d8a51.zip
Remove an unused function call.
Signed-off-by: Richard Sharpe <rsharpe@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Feb 13 23:29:54 CET 2015 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/machine_account_secrets.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c
index 37ee9bcc4c..717eaa1a09 100644
--- a/source3/passdb/machine_account_secrets.c
+++ b/source3/passdb/machine_account_secrets.c
@@ -284,23 +284,6 @@ static const char *trust_keystr(const char *domain)
}
/************************************************************************
- Lock the trust password entry.
-************************************************************************/
-
-void *secrets_get_trust_account_lock(TALLOC_CTX *mem_ctx, const char *domain)
-{
- struct db_context *db_ctx;
- if (!secrets_init()) {
- return NULL;
- }
-
- db_ctx = secrets_db_ctx();
-
- return dbwrap_fetch_locked(
- db_ctx, mem_ctx, string_term_tdb_data(trust_keystr(domain)));
-}
-
-/************************************************************************
Routine to get the default secure channel type for trust accounts
************************************************************************/