summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-08 16:49:13 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-06-11 12:43:58 +0200
commitba4467ca65d5f85a2732da27d88760b684c6e30d (patch)
treec7c8ad4191091424d0071f1fe92bce8cc0d61461 /source3/winbindd/winbindd_proto.h
parenteabe7d732e6d9b64004bbb477384a1eae999815f (diff)
downloadsamba-ba4467ca65d5f85a2732da27d88760b684c6e30d.tar.gz
samba-ba4467ca65d5f85a2732da27d88760b684c6e30d.tar.xz
samba-ba4467ca65d5f85a2732da27d88760b684c6e30d.zip
s3-winbindd: Implement SamLogon IRPC call
We do this by lifting parts of the winbindd_dual_pam_auth_crap() code into a new helper function winbind_dual_SamLogon(). This allows us to implement the semantics we need for IRPC, without the artifacts of the winbindd pipe protocol. Change-Id: Idb169217e6d68d387c99765d0af7ed394cb5b93a Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Kamen Mazdrashki <kamenim@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 11 12:43:58 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 540a99ab43..dfd61621c6 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -394,6 +394,17 @@ enum winbindd_result winbindd_dual_pam_chng_pswd_auth_crap(struct winbindd_domai
NTSTATUS winbindd_pam_auth_pac_send(struct winbindd_cli_state *state,
struct netr_SamInfo3 **info3);
+NTSTATUS winbind_dual_SamLogon(struct winbindd_domain *domain,
+ TALLOC_CTX *mem_ctx,
+ uint32_t logon_parameters,
+ const char *name_user,
+ const char *name_domain,
+ const char *workstation,
+ const uint8_t chal[8],
+ DATA_BLOB lm_response,
+ DATA_BLOB nt_response,
+ struct netr_SamInfo3 **info3);
+
/* The following definitions come from winbindd/winbindd_util.c */
struct winbindd_domain *domain_list(void);