summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-13 12:45:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:36 -0500
commitc55d05b03cd929fba837259f99c73baadc7897f8 (patch)
tree7d409745f7697a097d159ba03a60d38856d67e7a /source3/passdb
parenta2d9f07d4cdc7139e1d7ef0b6e394c89d5e5f1e1 (diff)
downloadsamba-c55d05b03cd929fba837259f99c73baadc7897f8.tar.gz
samba-c55d05b03cd929fba837259f99c73baadc7897f8.tar.bz2
samba-c55d05b03cd929fba837259f99c73baadc7897f8.zip
r21818: Remove some unused code
(This used to be commit f88eab91c43570e4da7a4a6cd117e7b7ebf53331)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/secrets.c23
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
************************************************************************/