summaryrefslogtreecommitdiff
path: root/source3/passdb/secrets.c
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2004-01-15 09:50:47 +0000
committerRafal Szczesniak <mimir@samba.org>2004-01-15 09:50:47 +0000
commit1052d79b33292fba01266afbc493c34dfddba2d7 (patch)
tree028ebe33e48181e091b031fe7c0898313c59915d /source3/passdb/secrets.c
parentfc1590abd991b657ff2510d8b48be271b4863294 (diff)
downloadsamba-1052d79b33292fba01266afbc493c34dfddba2d7.tar.gz
samba-1052d79b33292fba01266afbc493c34dfddba2d7.tar.bz2
samba-1052d79b33292fba01266afbc493c34dfddba2d7.zip
Remove unused function.
rafal (This used to be commit 2d2c36cc3f691f31506fbd97e74cf225a2ef85c5)
Diffstat (limited to 'source3/passdb/secrets.c')
-rw-r--r--source3/passdb/secrets.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index b389e42b7f..7317a4cf06 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -326,19 +326,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