diff options
-rw-r--r-- | source3/passdb/secrets.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index 262ca4f7ed..e450205060 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -500,20 +500,6 @@ BOOL secrets_fetch_trusted_domain_password(const char *domain, char** pwd, return True; } -/************************************************************************ - Routine to set the trust account password for a domain. -************************************************************************/ - -BOOL secrets_store_trust_account_password(const char *domain, uint8 new_pwd[16]) -{ - struct machine_acct_pass pass; - - pass.mod_time = time(NULL); - memcpy(pass.hash, new_pwd, 16); - - return secrets_store(trust_keystr(domain), (void *)&pass, sizeof(pass)); -} - /** * Routine to store the password for trusted domain * @@ -656,15 +642,6 @@ char *secrets_fetch_machine_password(const char *domain, } /************************************************************************ - Routine to delete the machine trust account password file for a domain. -************************************************************************/ - -BOOL trust_password_delete(const char *domain) -{ - return secrets_delete(trust_keystr(domain)); -} - -/************************************************************************ Routine to delete the password for trusted domain ************************************************************************/ |