r21818: Remove some unused code
authorVolker Lendecke <vlendec@samba.org>
Tue, 13 Mar 2007 12:45:20 +0000 (12:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:36 +0000 (12:18 -0500)
source/passdb/secrets.c

index 262ca4f7eda58440c12ba8bbef6820a231dc5e70..e450205060299e82b74eb1a5e6ebeb132a4d545b 100644 (file)
@@ -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
  *
@@ -655,15 +641,6 @@ char *secrets_fetch_machine_password(const char *domain,
        return ret;
 }
 
-/************************************************************************
- 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
 ************************************************************************/