Re: How to start-up NTML support for libetpan?
DINH Viêt Hoà <[email protected]> Sat, 5 Sep 2009 22:17:22 +0200
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
the enum POP3_AUTH_TYPE_SASL_* are deprecated.
you have to use this function :
int mailpop3_auth(mailpop3 * f, const char * auth_type,
const char * server_fqdn,
const char * local_ip_port,
const char * remote_ip_port,
const char * login, const char * auth_name,
const char * password, const char * realm);
and use "NTLM" as auth_type. I don't know very much about NTLM authenticati=
on.
I think that for :
- server_fqdn, you can set the name of the server.
- local_ip_port, you can try NULL or ip-address:port
- remote_ip_port, you can try NULL or ip-address:port
- login and auth_name should be identical
- you can try NULL or domain name for realm
On Sat, Sep 5, 2009 at 11:15 AM, 2eg1ste2 2eg1ste2<[email protected]> wrot=
e:
> I can not find NTML option In pop3driver_types.h=A0at all, thank you!!
>
> /* this is the type of POP3 authentication */
>
> enum {
> =A0 POP3_AUTH_TYPE_PLAIN,=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /* plain te=
xt authentication */
> =A0 POP3_AUTH_TYPE_APOP,=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /* APOP a=
uthentication */
> =A0 POP3_AUTH_TYPE_TRY_APOP,=A0=A0=A0=A0=A0=A0=A0=A0=A0 /* first, try APO=
P, if it fails,
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 try plain text */
> =A0 POP3_AUTH_TYPE_SASL_ANONYMOUS,=A0=A0=A0 /* SASL anonymous */
> =A0 POP3_AUTH_TYPE_SASL_CRAM_MD5,=A0=A0=A0=A0 /* SASL CRAM MD5 */
> =A0 POP3_AUTH_TYPE_SASL_KERBEROS_V4,=A0 /* SASL KERBEROS V4 */
> =A0 POP3_AUTH_TYPE_SASL_PLAIN,=A0=A0=A0=A0=A0=A0=A0 /* SASL plain */
> =A0 POP3_AUTH_TYPE_SASL_SCRAM_MD5,=A0=A0=A0 /* SASL SCRAM MD5 */
> =A0 POP3_AUTH_TYPE_SASL_GSSAPI,=A0=A0=A0=A0=A0=A0 /* SASL GSSAPI */
> =A0 POP3_AUTH_TYPE_SASL_DIGEST_MD5=A0=A0=A0 /* SASL digest MD5 */
> };
>
> -------------------------------------------------------------------------=
-----
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-D=
ay
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. =A0http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Libetpan-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libetpan-users
>
>
-- =
DINH Vi=EAt Ho=E0
---------------------------------------------------------------------------=
---
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day =
trial. Simplify your report design, integration and deployment - and focus =
on =
what you do best, core application coding. Discover what's new with =
Crystal Reports now. http://p.sf.net/sfu/bobj-july