aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-sasl-gssapi.c
Commit message (Collapse)AuthorAgeFilesLines
* Kill dead filesJP Rosevear2005-01-111-346/+0
| | | | svn path=/trunk/; revision=28342
* #include "camel-i18n.h"Jeffrey Stedfast2004-10-221-0/+1
| | | | | | | | 2004-10-21 Jeffrey Stedfast <fejj@novell.com> * camel-sasl-gssapi.c: #include "camel-i18n.h" svn path=/trunk/; revision=27687
* Instead of doing a host-lookup ourselves, get it passed in to us as anJeffrey Stedfast2004-09-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | 2004-09-22 Jeffrey Stedfast <fejj@novell.com> * providers/imap/camel-imap-store.c (connect_to_server): Instead of doing a host-lookup ourselves, get it passed in to us as an argument. Also simplified a bit (try_starttls is no longer an option). (connect_to_server_wrapper): Simplified (we no longer have fallback cases for SSL stuff). Also, perform host lookup here. * providers/imap4/camel-imap4-store.c: Same changes as above. * providers/pop3/camel-pop3-store.c: Same. * providers/smtp/camel-smtp-transport.c: Same. Other changes include making the code consistant with the other providers. * providers/nntp/camel-nntp-store.c: Same as pop/imap. svn path=/trunk/; revision=27398
* ** See bug #47821.Not Zed2004-09-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-09-13 Not Zed <NotZed@Ximian.com> ** See bug #47821. * camel-service.c: removed the old hostent based hostname interfaces. * camel-sasl-kerberos4.c (krb4_challenge): new hostname interfaces. * camel-sasl-gssapi.c (gssapi_challenge): new hostname interfaces. * camel-sasl-digest-md5.c (digest_md5_challenge): use new hostname interfaces. (generate_response): just take hostname directly, not hostent. * camel-mime-utils.c (camel_header_msgid_generate): use new hostname interfaces. * providers/smtp/camel-smtp-transport.c (connect_to_server): fixed to use new addrinfo apis. * providers/pop3/camel-pop3-store.c (connect_to_server): fixed to use new addrinfo apis. * camel-tcp-stream-ssl.c (stream_connect): try all addresses supplied. * camel-tcp-stream.c (camel_tcp_stream_get_remote_address) (camel_tcp_stream_get_local_address): return a sockaddr now, and also the address length. Fixed all implementations and callers. (camel_tcp_stream_connect): use addrinfo rather than hostent for host AND port info. Fixed all implementations and callers. svn path=/trunk/; revision=27352
* Handle et/comm_err.h as well as the normal comm_err.hRodney Dawes2004-08-131-0/+4
| | | | | | | | | 2004-08-13 Rodney Dawes <dobey@novell.com> * camel-sasl-gssapi.c: Handle et/comm_err.h as well as the normal comm_err.h svn path=/trunk/; revision=26911
* Free the uids *after* reporting Complete, otherwise we get an FMR if ourJeffrey Stedfast2004-02-261-0/+2
| | | | | | | | | | | | | | | 2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_folder): Free the uids *after* reporting Complete, otherwise we get an FMR if our caller didn't pass in the uids. * camel-sasl-gssapi.c (gssapi_challenge): #ifdef out another gss_release_buffer() call as this function causes memory corruption if using Heimdal's implementation of Kerberos5. Yay Heimdal. svn path=/trunk/; revision=24872
* If we are using the heimdal krb5 implementation, don't free outbuf ever.Jeffrey Stedfast2003-04-021-0/+10
| | | | | | | | | | 2003-03-28 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c (gssapi_challenge): If we are using the heimdal krb5 implementation, don't free outbuf ever. Seems to segfault if we do. svn path=/trunk/; revision=20624
* Get rid of debug printf's that are no longer needed. In the case ofJeffrey Stedfast2003-03-281-9/+3
| | | | | | | | | | | 2003-03-27 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c (gssapi_challenge): Get rid of debug printf's that are no longer needed. In the case of errors, don't release the outbuf gss_buffer_t since it shouldn't be set. Also g_free (str) when we are done with it. svn path=/trunk/; revision=20551
* Pass in the addresses of the second args to the delete/release functions.Jeffrey Stedfast2003-03-271-2/+2
| | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c (camel_sasl_gssapi_finalize): Pass in the addresses of the second args to the delete/release functions. svn path=/trunk/; revision=20517
* #include <com_err.h> instead of #include <et/com_err.h>Jeffrey Stedfast2003-03-211-1/+1
| | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c: #include <com_err.h> instead of #include <et/com_err.h> svn path=/trunk/; revision=20453
* Plug in GSSAPI support.Jeffrey Stedfast2003-03-211-27/+47
| | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl.c: Plug in GSSAPI support. * camel-sasl-gssapi.[c,h]: Various fixes to make it compile (fixed type-o's mostly). svn path=/trunk/; revision=20438
* Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated.Jeffrey Stedfast2003-02-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-04 Jeffrey Stedfast <fejj@ximian.com> * providers/imap/camel-imap-utils.c (imap_parse_body): Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated. (imap_parse_body): Same. * providers/imap/camel-imap-folder.c (decode_internaldate): Use strncasecmp() here too. (parse_fetch_response): And here. (camel_imap_folder_selected): Here too. * providers/imap/camel-imap-utils.c (imap_namespace_decode): Use strncasecmp() instead of g_strncasecmp() because the latter is deprecated. * providers/imap/camel-imap-store.c (imap_get_capability): Again here. (hash_folder_name): Here too. (compare_folder_name): And here. (get_folder_online): Again. (get_folder_offline): And again. * providers/imap/camel-imap-folder.c (camel_imap_folder_selected): Same as below again. * providers/imap/camel-imap-command.c (camel_imap_response_free): Same as below. * providers/smtp/camel-smtp-transport.c (smtp_data): Use strcasecmp() because g_strcasecmp() is deprecated. * camel-url.c (camel_url_new_with_base): Use g_ascii_strdown() instead of g_strdown, since g_strdown is deprecated. 2003-01-28 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default flags to gss_init_sec_context() (these default flags are defined as a MUST in rfc1964). svn path=/trunk/; revision=19748
* Pass in some default flags to gss_init_sec_context() (these default flagsJeffrey Stedfast2003-01-291-1/+3
| | | | | | | | | | 2003-01-28 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.c (gssapi_challenge): Pass in some default flags to gss_init_sec_context() (these default flags are defined as a MUST in rfc1964). svn path=/trunk/; revision=19676
* New source files implementing the GSSAPI SASL mechanism.Jeffrey Stedfast2003-01-141-0/+310
2003-01-14 Jeffrey Stedfast <fejj@ximian.com> * camel-sasl-gssapi.[c,h]: New source files implementing the GSSAPI SASL mechanism. svn path=/trunk/; revision=19437