summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-29 17:52:38 +0200
committerVolker Lendecke <vl@samba.org>2010-04-19 14:27:19 +0200
commit61ec0f571ad81dc101fe6de7a8e9674a7119cf2b (patch)
tree87fc4d7aea6adf0e061d23f63282609f5ef3b072 /source3/winbindd/winbindd_proto.h
parentfddef8fd0ae169ebd2f20d9cc2458d2df44110a0 (diff)
downloadsamba-61ec0f571ad81dc101fe6de7a8e9674a7119cf2b.tar.gz
samba-61ec0f571ad81dc101fe6de7a8e9674a7119cf2b.tar.bz2
samba-61ec0f571ad81dc101fe6de7a8e9674a7119cf2b.zip
s3: Convert WINBINDD_PAM_AUTH to the new async API
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index d481380bb5..4daf0857f2 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -382,7 +382,6 @@ void ndr_print_winbindd_domain(struct ndr_print *ndr,
bool check_request_flags(uint32_t flags);
struct winbindd_domain *find_auth_domain(uint8_t flags,
const char *domain_name);
-void winbindd_pam_auth(struct winbindd_cli_state *state);
enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
struct winbindd_cli_state *state) ;
void winbindd_pam_auth_crap(struct winbindd_cli_state *state);
@@ -852,4 +851,11 @@ struct tevent_req *winbindd_set_hwm_send(TALLOC_CTX *mem_ctx,
NTSTATUS winbindd_set_hwm_recv(struct tevent_req *req,
struct winbindd_response *response);
+struct tevent_req *winbindd_pam_auth_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct winbindd_cli_state *cli,
+ struct winbindd_request *request);
+NTSTATUS winbindd_pam_auth_recv(struct tevent_req *req,
+ struct winbindd_response *response);
+
#endif /* _WINBINDD_PROTO_H_ */