diff options
author | Tim Potter <tpot@samba.org> | 2001-08-22 02:48:16 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-22 02:48:16 +0000 |
commit | b0f167cdf2942ddaeaa03032542e74345ce81308 (patch) | |
tree | 64362bf09a3267cfeff0c5066b4706f28e19887e /source3/nsswitch/winbindd_nss.h | |
parent | 8d9cdf0d749413c1575b6cc44bfeed3f0605a526 (diff) | |
download | samba-b0f167cdf2942ddaeaa03032542e74345ce81308.tar.gz samba-b0f167cdf2942ddaeaa03032542e74345ce81308.tar.bz2 samba-b0f167cdf2942ddaeaa03032542e74345ce81308.zip |
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)
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r-- | source3/nsswitch/winbindd_nss.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 */ @@ -100,6 +101,14 @@ struct winbindd_request { 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; fstring newpass; |