From b0f167cdf2942ddaeaa03032542e74345ce81308 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 22 Aug 2001 02:48:16 +0000 Subject: Added another authentication interface to winbindd. The Challenge Response Authentication Protocol (CRAP) takes a tuple of (username, random challenge, encrypted lm password, encrypted nt password) where the passwords are encrypted with the random challenge ala ntlmssp. (This used to be commit 11f72a78e3a16bbb17b576d80b47a9eb818ee428) --- source3/nsswitch/winbindd_nss.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/nsswitch/winbindd_nss.h') diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h index aedbaaf1fd..8e2eaf7ede 100644 --- a/source3/nsswitch/winbindd_nss.h +++ b/source3/nsswitch/winbindd_nss.h @@ -55,6 +55,7 @@ enum winbindd_cmd { /* PAM authenticate and password change */ WINBINDD_PAM_AUTH, + WINBINDD_PAM_AUTH_CRAP, WINBINDD_PAM_CHAUTHTOK, /* List various things */ @@ -99,6 +100,14 @@ struct winbindd_request { fstring user; fstring pass; } auth; /* pam_winbind auth module */ + struct { + char chal[8]; + fstring user; + fstring lm_resp; + uint16 lm_resp_len; + fstring nt_resp; + uint16 nt_resp_len; + } auth_crap; struct { fstring user; fstring oldpass; -- cgit