2008/12/30 Andrew Rechenberg Lists <flux...@sfg.com>:
> Good day,
> if (sip->sip_www_authenticate->au_scheme == "NTLM") {
>  do something ...
> }
>
> I've also tried a NULL terminated comparison ("NTLM\0") and just == "N"
> and neither of those work either.
>
> Am I missing something simple?

Try su_casematch().

> Also, I'm trying to do NTLM authentication according to
> http://download.microsoft.com/download/1/6/F/16F4E321-AA6B-4FA3-8AD3-E94
> C895A3C97/%5BMS-SIPAE%5D.PDF but OCS2007 can be configured to use either
> NTLM or Kerberos for its authentication scheme therefore there are 2
> WWW-Authenticate headers in the 401 Unauthorized response I receive from
> the server however only NTLM is displayed in the parsed sip structure.
> Is au_next supposed to have the next au_scheme?  If so, it's empty in my
> case.  Why would that occur?

This was discussed earlier, the parser from darcs is now updated to
accept multiple WWW-Authenticate headers..,.

-- 
Pekka.Pessi mail at nokia.com

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to