Windows Authentication Working For Some But Not Others -
i have web application hosted via iis requires windows authentication. users able access applicaiton no problems. others dialog requesting credentials, when cancel request, application loads correctly. still others prompted credentials , when enter them, 401 error. using fiddler, i've found authentication header users works looks this:
-[ntlm type3: authentication]------------------------------ provider: ntlmssp type: 3 os version: 6.1:7601 flags: 0xe2888215 unicode supported in security buffer. request server's authentication realm included in type2 reply. sign (integrity) ntlm authentication. negotiate sign. negotiate ntlm2 key. target information block provided use in calculation of ntlmv2 response. supports 56-bit encryption. supports 128-bit encryption. client provide master key in type 3 session key field. lmresp_offset: 136; lmresp_length: 24; lmresp_length2: 24 ntresp_offset: 160; ntresp_length: 24; ntresp_length2: 24 domain_offset: 88; domain_length: 16; domain_length2: 16 user_offset: 104; user_length: 14; user_length2: 14 host_offset: 118; host_length: 18; host_length2: 18 msg_len: 184 domain: xxx user: yyy host: zzz
users prompted credentials (but application still loads) this:
-[ntlm type3: authentication]------------------------------ provider: ntlmssp type: 3 os version: 5.1:2600 flags: 0xa2888205 unicode supported in security buffer. request server's authentication realm included in type2 reply. ntlm authentication. negotiate sign. negotiate ntlm2 key. target information block provided use in calculation of ntlmv2 response. supports 56-bit encryption. supports 128-bit encryption. lmresp_offset: 118; lmresp_length: 24; lmresp_length2: 24 ntresp_offset: 142; ntresp_length: 24; ntresp_length2: 24 domain_offset: 72; domain_length: 16; domain_length2: 16 user_offset: 88; user_length: 12; user_length2: 12 host_offset: 100; host_length: 18; host_length2: 18 msg_len: 166 domain: xxx user: vvv host: www lm_resp: 11 e3 1e 09 74 1e 9b 8a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 nt_resp: 98 bf fc 1c bf 65 ee 46 6a 71 26 5e 14 5d 34 ca 1f 1a e2 4a 00 1d bc 58 ------------------------------------
the headers similar but, case isn't working, following flags missing:
- sign (integrity)
- client provide master key in type 3 session key field
i've been googling couple of days , can't seem determine these keys coming from! related browser setting? account setting? iis setting?
any advice appreciated!
Comments
Post a Comment