Good day, I have the NTLM code in Sofia working about 95% now (with regard to authenticating to a Microsoft Office Communications Server 2007) but I have some questions as to the proper places to put things before I submit a patch (multiple patches (?)).
In its current incarnation the NTLM code relies on a couple of extra dependencies - zlib and iconv are the only ones as far as I can remember. Zlib is used for one function call to generate an NTLM signature used to sign the SIP requests. Iconv is used to convert usernames, passwords, and domains to UTF-16LE. All of the NTLM code is just ported from the SIPE project (SIP for Exchange plugin for the Pidgin IM client - http://sipe.sourceforge.net/, http://repo.or.cz/w/siplcs.git). Thanks to Gabriel Burt for him writing the initial code and for help troubleshooting the port. I'm not sure what your stance is on adding more dependencies to Sofia, but they would only be added if the user wanted to compile the library with NTLM support. I tried to keep the additions to a minimum. I have added some fields to the auth_challenge_t and auth_response_t structs however those structs are defined in auth_digest.h. Should I move my bits to auth_ntlm.h and create auth_ntlm_challenge_t and auth_ntlm_response_t structs or leave them where they are? If I create new structs will that interfere with any other bits of the iptsec code that will require additional modifications? I have added most of the NTLM code (auc_ntlm_challenge(), auc_ntlm_authorization(), auc_ntlm_info(), auth_ntlm_client_s, auth_ntlm_client_t, etc) to auth_client.c but I see that there is also an auth_client_ntlm.c. Should the additional code be moved to auth_client_ntlm.c? Let me know what is preferred and I'll setup some patches against the current darcs tree. Thanks, Andy. 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. ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel