Announcement

Collapse
No announcement yet.

Cannot login to context 2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot login to context 2

    Hi @ll,

    I tried to setup a second context on my OX but the user from this context cannot log in.

    open-xchange.log.0:
    May 01, 2013 9:51:48 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.ajax.Login$11.doLogin(Login.java: 972)
    Login:max@borkum-immobilie.de IP:80.228.48.30 AuthID:910207fb-3362-4823-8bdb-4ee7de4ab0f9 Agent:Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:99.0) Gecko/201212231 Firefox/25.0.0 Clie
    nt:com.openexchange.ox.gui.dhtml(6.20.7 Rev16) Interface:HTTP_JSON Context:1(1,defaultcontext) Failed.
    May 01, 2013 9:51:48 PM com.openexchange.log.internal.LoggerTask call
    SEVERE: Logged at: com.openexchange.ajax.Login.loginOperation(Login.j ava:1014)
    USR-0015 Category=8 Message=Cannot find user with identifier max in context 1. exceptionID=714464645-39668
    com.openexchange.ajp13.remoteAddress=0:0:0:0:0:0:0 :1
    com.openexchange.ajp13.remotePort=39172
    USR-0015 Category=8 Message=Cannot find user with identifier max in context 1. exceptionID=714464645-39668
    at com.openexchange.login.internal.LoginPerformer.doL ogin(LoginPerformer.java:232)
    at com.openexchange.login.internal.LoginPerformer.doL ogin(LoginPerformer.java:128)
    at com.openexchange.ajax.Login$11.doLogin(Login.java: 972)
    at com.openexchange.ajax.Login.loginOperation(Login.j ava:987)
    at com.openexchange.ajax.Login.doLogin(Login.java:969 )
    at com.openexchange.ajax.Login$1.handleRequest(Login. java:189)
    at com.openexchange.ajax.Login.doJSONAuth(Login.java: 743)
    at com.openexchange.ajax.Login.doGet(Login.java:730)
    at com.openexchange.ajax.Login.doPost(Login.java:868)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:442)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:847)
    at com.openexchange.ajp13.coyote.sockethandler.Coyote Task.call(CoyoteTask.java:184)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:166)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.runTask(CustomThreadPoolExecuto r.java:781)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:807)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: USR-0015 Category=8 Message=Cannot find user with identifier max in context 1. exceptionID=714464645-39667
    at com.openexchange.login.internal.LoginPerformer.fin dUser(LoginPerformer.java:289)
    at com.openexchange.login.internal.LoginPerformer.doL ogin(LoginPerformer.java:189)
    ... 18 more
    Caused by: USR-0015 Category=8 Message=Cannot find user with identifier max in context 1. exceptionID=714464645-39666
    at com.openexchange.groupware.ldap.RdbUserStorage.get UserId(RdbUserStorage.java:156)
    at com.openexchange.groupware.ldap.CachingUserStorage .getUserId(CachingUserStorage.java:318)
    at com.openexchange.login.internal.LoginPerformer.fin dUser(LoginPerformer.java:285)
    ... 19 more


    OX-Version:
    GUI Version: 6.20.7 Rev16
    Server Version: 6.20.7-Rev16

    Authentication: imapauth

    server:/opt/open-xchange/sbin # listcontext -A oxadminmaster -P PASSWORD
    cid fid fname enabled qmax qused name lmappings
    1 2 1_ctx_store true 1024 10 1 defaultcontext
    2 2 2_ctx_store true 100 0 borkum-immobilie.de borkum-immobilie.de

    server:/opt/open-xchange/sbin # ./listuser -c 2 -A oxadmin -P PASSWORD
    Id Name Displayname Email
    2 oxadmin OX Admin emailaccount@domain.tld
    3 max Jimmi Bondi max@domain.tld


    When I look in the database the context is available and the user has the correct cid.

    Can anybody help?

    Greetings
    Max
    Grüße von der Nordseeküste (da wo andere Leute Urlaub machen)

    sailor

    Und der meint zur EDV:

    "Jede hinreichend fortgeschrittene Technologie ist von Magie nicht zu
    unterscheiden."
    Arthur C. Clarke's (*1917) Drittes Gesetz
    (brit. SciFi-Autor, u. a. "2001-Odyssee im Weltraum" [1968])

  • #2
    Hi,

    does it work if you try to login as max@2 ? According to the stacktrace, OX thinks that the login belongs to context 1. Removing the "defaultcontext" alias may also help in this case.

    Greetings
    Martin

    Comment


    • #3
      Hi Martin,

      many thanks for your reply. I tried both, but it did's help. So I had a look in the $OXHome/etc/groupware/imapauth.properties and found the values
      USE_FULL_LOGIN_INFO=true
      and
      USE_MULTIPLE=true
      both set to "false" - I mus have forgotten something ;-)

      After setting them to "true" it worked!

      Many thanks!

      Max
      Grüße von der Nordseeküste (da wo andere Leute Urlaub machen)

      sailor

      Und der meint zur EDV:

      "Jede hinreichend fortgeschrittene Technologie ist von Magie nicht zu
      unterscheiden."
      Arthur C. Clarke's (*1917) Drittes Gesetz
      (brit. SciFi-Autor, u. a. "2001-Odyssee im Weltraum" [1968])

      Comment

      Working...
      X