summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-09-23 09:12:20 -0700
committerAndrew Bartlett <abartlet@samba.org>2014-10-17 12:57:07 +0200
commit295b323b1c65cd8387b3977a189f81253c139b43 (patch)
tree999dddd197ddd32458a39e6ced44728672ae8e29 /source3/include
parentbe994ca579c6c302d9d6487c863699b3e4457210 (diff)
downloadsamba-295b323b1c65cd8387b3977a189f81253c139b43.tar.gz
samba-295b323b1c65cd8387b3977a189f81253c139b43.tar.xz
samba-295b323b1c65cd8387b3977a189f81253c139b43.zip
s3-librpc: Add cli_rpc_pipe_open_with_creds()
This provides a credentials-based interface. In the long term, we will want to change this not to reference the credentials, but for now this suits the caller in winbindd_cm.c Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/auth_generic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/auth_generic.h b/source3/include/auth_generic.h
index 96b07cd8f7..07df62af43 100644
--- a/source3/include/auth_generic.h
+++ b/source3/include/auth_generic.h
@@ -37,6 +37,8 @@ NTSTATUS auth_generic_set_domain(struct auth_generic_state *ans,
const char *domain);
NTSTATUS auth_generic_set_password(struct auth_generic_state *ans,
const char *password);
+NTSTATUS auth_generic_set_creds(struct auth_generic_state *ans,
+ struct cli_credentials *creds);
NTSTATUS auth_generic_client_prepare(TALLOC_CTX *mem_ctx,
struct auth_generic_state **_ans);
NTSTATUS auth_generic_client_start(struct auth_generic_state *ans, const char *oid);