Announcement

Collapse
No announcement yet.

LDAP authentication... An error occurred. (USR-0015, 1901873386-19)

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

  • LDAP authentication... An error occurred. (USR-0015, 1901873386-19)

    Hello,

    what is the meaning about this error: An error occurred. (USR-0015, 1901873386-19)

    This is the trace about log file:

    Apr 2, 2012 6:12:01 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.authentication.ldap.LDAPAuthentic ation.handleLoginInfo(LDAPAuthentication.java:136)
    User simonalsa successful authenticated.

    Apr 2, 2012 6:12:01 PM com.openexchange.log.internal.LoggerTask call
    INFO: Logged at: com.openexchange.ajax.Login$11.doLogin(Login.java: 915)
    Login:simonalsa IP:213.4.37.123 AuthID:8b8cec56-eb09-430d-aa24-00114704db5f Agent:Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 Client:com.openexchange.ox.gui.dhtml(6.20.2 Rev2) Interface:HTTP_JSON Context:1(1,defaultcontext) Failed.
    Apr 2, 2012 6:12:01 PM com.openexchange.log.internal.LoggerTask call
    SEVERE: Logged at: com.openexchange.ajax.Login.loginOperation(Login.j ava:954)
    USR-0015 Category=8 Message=Cannot find user with identifier simonalsa in context 1. exceptionID=1901873386-19
    com.openexchange.ajp13.remoteAddress=127.0.0.1
    com.openexchange.ajp13.remotePort=53647
    USR-0015 Category=8 Message=Cannot find user with identifier simonalsa in context 1. exceptionID=1901873386-19
    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: 915)
    at com.openexchange.ajax.Login.loginOperation(Login.j ava:930)
    at com.openexchange.ajax.Login.doLogin(Login.java:912 )
    at com.openexchange.ajax.Login$1.handleRequest(Login. java:186)
    at com.openexchange.ajax.Login.doJSONAuth(Login.java: 740)
    at com.openexchange.ajax.Login.doGet(Login.java:727)
    at com.openexchange.ajax.Login.doPost(Login.java:862)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
    at com.openexchange.ajax.AJAXServlet.service(AJAXServ let.java:428)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:820)
    at com.openexchange.ajp13.coyote.AjpProcessor.process (AjpProcessor.java:831)
    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:775)
    at com.openexchange.threadpool.internal.CustomThreadP oolExecutor$Worker.run(CustomThreadPoolExecutor.ja va:801)
    at java.lang.Thread.run(Thread.java:636)
    Caused by: USR-0015 Category=8 Message=Cannot find user with identifier simonalsa in context 1. exceptionID=1901873386-18
    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 simonalsa in context 1. exceptionID=1901873386-17
    at com.openexchange.groupware.ldap.RdbUserStorage.get UserId(RdbUserStorage.java:155)
    at com.openexchange.groupware.ldap.CachingUserStorage .getUserId(CachingUserStorage.java:257)
    at com.openexchange.login.internal.LoginPerformer.fin dUser(LoginPerformer.java:285)
    ... 19 more

    Are there any way to link a LDAP user/group to context 1?


    Kind regards
    Simon

  • #2
    SOLVED

    Deploying ** oxldapsync **

    # List Context availables
    root@oo:/opt/open-xchange/etc/groupware# listcontext --adminuser=oxadminmaster --adminpass=X
    cid fid fname enabled qmax qused name lmappings
    1 2 1_ctx_store true 1024 0 1 defaultcontext


    # List available users in context 1
    root@oo:/var/log/open-xchange# /opt/open-xchange/sbin/listuser -c 1 --adminuser=oxadmin --adminpass=X
    Id Name Displayname Email
    2 oxadmin Context Admin oxadmin@example.com


    # Syncronize LDAP users in context 1
    ** INSTALL oxldapsync PACKAGE **

    root@oo:/var/log# /opt/oxldapsync/sbin/oxldapsync.pl -c 1 -A oxadmin -P X -v

    root@oo:/var/log# cat /var/log/oxldapsync.log

    2012/04/02 19:31:53 > /opt/open-xchange/sbin/createuser -c 1 -A oxadmin -P X ...


    # List available users in context 1
    root@oo:/var/log# /opt/open-xchange/sbin/listuser -c 1 --adminuser=oxadmin --adminpass=X
    Id Name Displayname Email
    2 oxadmin Context Admin oxadmin@example.com
    8 simonalsa simonalsa simonalsa@la.la

    Comment

    Working...
    X