From 9077fc79d427aff3ca0959cd0214f6d2385d8a51 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Thu, 12 Feb 2015 18:22:17 -0800 Subject: Remove an unused function call. Signed-off-by: Richard Sharpe Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Fri Feb 13 23:29:54 CET 2015 on sn-devel-104 --- source3/passdb/machine_account_secrets.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source3/passdb') 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 @@ -283,23 +283,6 @@ static const char *trust_keystr(const char *domain) return keystr; } -/************************************************************************ - 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 ************************************************************************/ -- cgit