Menu

#239 Multiuser

v3.9.1
closed-works-for-me
nobody
5
2011-04-01
2010-11-25
No

Hi,
I started a davmail instance in server mode with multiple users connecting with pop protocol. The first one can log and check mails, but the second can't :

davmail.exception.DavMailAuthenticationException: Authentication failed: invalid user or password
at davmail.exchange.ews.EwsExchangeSession.checkEndPointUrl(EwsExchangeSession.java:109)
at davmail.exchange.ews.EwsExchangeSession.buildSessionInfo(EwsExchangeSession.java:150)
at davmail.exchange.ExchangeSession.<init>(ExchangeSession.java:187)
at davmail.exchange.ews.EwsExchangeSession.<init>(EwsExchangeSession.java:79)
at davmail.exchange.ExchangeSessionFactory.getInstance(ExchangeSessionFactory.java:116)
at davmail.pop.PopConnection.run(PopConnection.java:138)

If I restart the service, the second on can log in, but not the first.
It seems that session confused.

Same problem when davmail deployed in a web container.

Problem persists with 3.8.6-1530, 3.8.7-1558 and trunk.

Thanks

Discussion

  • Mickael Guessant

    Unable to reproduce this issue with latest svn revision.

     
  • Mickael Guessant

    • status: open --> open-works-for-me
     
  • Mickael Guessant

    • status: open-works-for-me --> pending-works-for-me
     
  • Laurent Le Grandois

    • status: pending-works-for-me --> open-works-for-me
     
  • Laurent Le Grandois

    Hi,
    same problem with version 3.9.0-1630.
    A precision : davmail accounts are fetched by fetchmail.

    Thks

     
  • Laurent Le Grandois

    logfile

     
  • Laurent Le Grandois

    Hi,
    I uploaded logfile in DEBUG mode.

    Thks

    Laurent

     
  • Anonymous

    Anonymous - 2011-03-18

    Hello,

    I've got the exact same issue in here when using Davmail in server mode when different users are trying to connect using the pop protocol. Looks like it's coming from NTML.

     
  • Gilles Bardouillet

    Same issue for me.
    Please have a look

     
  • Anonymous

    Anonymous - 2011-03-18

    Was refering to NTLM (http://en.wikipedia.org/wiki/NTLM)

     
  • Mickael Guessant

    Definitely something wrong, but this should not happen: each ExchangeSession now has a separate connection manager to avoid connection pool conflict.

    Could someone check what happens at WIRE DEBUG level ?

     
  • Laurent Le Grandois

    • milestone: 1340695 --> v3.9.1
     
  • Laurent Le Grandois

    Hi,
    seems to be resolved in 3.9.1.

    Thanks

     
  • Mickael Guessant

    Thanks, closing this issue

     
  • Mickael Guessant

    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.