summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-07 16:34:28 +0200
committerAndrew Bartlett <abartlet@samba.org>2014-09-27 19:42:37 +0200
commit270f7b3441963904412aaf5594983f46caace59b (patch)
tree093166e4e63c45470834ea549684491924519985 /source3/include
parent354f1461b43e60068f826d0a77d281e789a5c249 (diff)
downloadsamba-270f7b3441963904412aaf5594983f46caace59b.tar.gz
samba-270f7b3441963904412aaf5594983f46caace59b.tar.xz
samba-270f7b3441963904412aaf5594983f46caace59b.zip
s3:passdb: add pdb_get_trust_credentials()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/passdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index f9918085da..86cb16e292 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -715,6 +715,11 @@ bool get_trust_pw_clear(const char *domain, char **ret_pwd,
bool get_trust_pw_hash(const char *domain, uint8_t ret_pwd[16],
const char **account_name,
enum netr_SchannelType *channel);
+struct cli_credentials;
+NTSTATUS pdb_get_trust_credentials(const char *netbios_domain,
+ const char *dns_domain, /* optional */
+ TALLOC_CTX *mem_ctx,
+ struct cli_credentials **_creds);
/* The following definitions come from passdb/pdb_compat.c */