Re: How to start-up NTML support for libetpan?
DINH Viêt Hoà <[email protected]> Tue, 8 Sep 2009 18:55:33 +0200
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, could you show the code you used to get that error ? could you enable logs using : mailstream_debug =3D 1; a .log file will be created in the current folder. That file contains the protocol logs. Could you send it to me ? Thanks. On Tue, Sep 8, 2009 at 6:29 PM, 2eg1ste2 2eg1ste2<[email protected]> wrote: > Hi DINH! > Thank you for your reply > > I=A0do as you told me.Libsasl.dll and saslNTLM.dll are complied and > mailpop3_auth works fine. > > Then i send "LIST" command but the=A0server=A0response:"-ERR Logon failur= e: > unknown user name or bad password" > > Do you have any idea about this problem? Is that I need to send=A0the > username/password? > > > 2009/9/6 DINH Vi=EAt Ho=E0 <[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, >> =A0 =A0const char * server_fqdn, >> =A0 =A0const char * local_ip_port, >> =A0 =A0const char * remote_ip_port, >> =A0 =A0const char * login, const char * auth_name, >> =A0 =A0const char * password, const char * realm); >> >> and use "NTLM" as auth_type. I don't know very much about NTLM >> authentication. >> 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]> >> wrote: >> > 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= text authentication */ >> > =A0 POP3_AUTH_TYPE_APOP,=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /* APO= P authentication */ >> > =A0 POP3_AUTH_TYPE_TRY_APOP,=A0=A0=A0=A0=A0=A0=A0=A0=A0 /* first, try = APOP, 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-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. =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 > > -- = 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