Ticket #2910 (new patch)
NTLM proxy authorization broken
| Reported by: | thecrux | Owned by: | datallah |
|---|---|---|---|
| Milestone: | Patches Needing Review | Component: | libpurple |
| Version: | 2.1.1 | Keywords: | ntlm |
| Cc: |
Description
we have a proxy server Squid with ntlm authorization.
1. It seems that pidgin cant authorizate via proxy, because of wrong NTLM flags used in NTLMSSP header that pidgin sent to proxy.
From http://davenport.sourceforge.net/ntlm.html#theNtlmFlags : Negotiate Unicode (0x00000001) - The client sets this flag to indicate that it supports Unicode strings.
This flag is set to 0 in all NTLMSSP headers, that pidgin send. So proxy read all strings as a 8bit strings, but they are unicode.
2. Also, pidgin send wrong workstation name (insead of hostname it used proxy name).
3. On windows platform pidgin can use SSPI service to transparently authorizate user (dont need to ask username and password) http://davenport.sourceforge.net/ntlm.html#ntlmsspAndSspi



