summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-08-25 21:45:24 +0200
committerGünther Deschner <gd@samba.org>2009-08-27 15:55:19 +0200
commit7c972d83d268a277501626122ab1c7cdddc0f4a3 (patch)
tree869f0b013a009f2b1f9a9d515574c4651d876869
parent04310cc1c510025c8d5dc10d744ab9825eae3fee (diff)
downloadsamba-7c972d83d268a277501626122ab1c7cdddc0f4a3.tar.gz
samba-7c972d83d268a277501626122ab1c7cdddc0f4a3.tar.bz2
samba-7c972d83d268a277501626122ab1c7cdddc0f4a3.zip
s3-schannel: make open_schannel_session_store() public.
Guenther
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/passdb/secrets.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0da8c25a39..d6ee5ed65f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4732,6 +4732,7 @@ NTSTATUS secrets_trusted_domains(TALLOC_CTX *mem_ctx, uint32 *num_domains,
bool secrets_store_afs_keyfile(const char *cell, const struct afs_keyfile *keyfile);
bool secrets_fetch_afs_key(const char *cell, struct afs_key *result);
void secrets_fetch_ipc_userpass(char **username, char **domain, char **password);
+TDB_CONTEXT *open_schannel_session_store(TALLOC_CTX *mem_ctx);
bool secrets_store_schannel_session_info(TALLOC_CTX *mem_ctx,
const char *remote_machine,
const struct dcinfo *pdc);
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index b063f07aec..ee0dcaf42c 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -1133,7 +1133,7 @@ void secrets_fetch_ipc_userpass(char **username, char **domain, char **password)
Open or create the schannel session store tdb.
*******************************************************************************/
-static TDB_CONTEXT *open_schannel_session_store(TALLOC_CTX *mem_ctx)
+TDB_CONTEXT *open_schannel_session_store(TALLOC_CTX *mem_ctx)
{
TDB_DATA vers;
uint32 ver;