> > In my event callback function I'm trying to null-out the ca_next
> portion
> > of the nh_auth portion of the nua_handle_t that's passed in but my
> code
> > sense isn't finding the nh_auth param of the struct.  Am I allowed
to
> > access that structure or is it private?
> 
> The structure is private. Why you try to null it? nua_authenticate()
> refuses to re-send the REGISTER because it has no credentials for
> Kerberos?
> 
> The authentication stuff probably needs some kind of mechanism to tell
> it to ignore some challenges...
> 

It appears that when there are 2 WWW-Authenticate headers that the code
in ca_credentials gets peeved when the authentication comes back in
there (don't know a better way to describe it).

I've stepped through the code and this is what I have found:

When ca_next is NULL the authentication register-response process
appears to go "normally."  When there are 2 headers and ca_next is not
null when ca_credentials in auth_client.c is called ca->ca_user and
ca->ca_pass are not null and the str0cmp() comparisons == 0 therefore
ca_credentials returns 0 and the nua_stack returns a 904.

I figured as a test I could null-out ca_next in my code and see if
things worked.  Since it's private I'm stuck.  

Any other way to do what I'm trying to do?


Confidentiality Notice: This e-mail message including attachments, if any, is 
intended only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message. If you are the intended recipient, but do not wish to 
receive communications through this medium, please so advise the sender 
immediately.

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to