summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-06 15:50:04 +0100
committerVolker Lendecke <vlendec@samba.org>2011-02-06 17:30:48 +0100
commitd515c6cd5c4884d781f6a84290f16925a3e34af6 (patch)
tree3b107bea69f426175290e13946d2ad959fce720c /source3/passdb
parent47d07df37f5b089ff16ee0e28cde23ed9470f214 (diff)
downloadsamba-d515c6cd5c4884d781f6a84290f16925a3e34af6.tar.gz
samba-d515c6cd5c4884d781f6a84290f16925a3e34af6.tar.bz2
samba-d515c6cd5c4884d781f6a84290f16925a3e34af6.zip
s3: Fix auth_netlogond to cope with netlogon_creds_CredentialState
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/secrets.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index 6571e6ef6b..45f8e152be 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -169,31 +169,6 @@ bool secrets_delete(const char *key)
return NT_STATUS_IS_OK(status);
}
-bool secrets_store_local_schannel_key(uint8_t schannel_key[16])
-{
- return secrets_store(SECRETS_LOCAL_SCHANNEL_KEY, schannel_key, 16);
-}
-
-bool secrets_fetch_local_schannel_key(uint8_t schannel_key[16])
-{
- size_t size = 0;
- uint8_t *key;
-
- key = (uint8_t *)secrets_fetch(SECRETS_LOCAL_SCHANNEL_KEY, &size);
- if (key == NULL) {
- return false;
- }
-
- if (size != 16) {
- SAFE_FREE(key);
- return false;
- }
-
- memcpy(schannel_key, key, 16);
- SAFE_FREE(key);
- return true;
-}
-
/**
* Form a key for fetching a trusted domain password
*