Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2015
    Posts
    1

    Default problem with context maping when login is email address

    Hello,

    I have some problem with context mapping when login is email address. For example. I have context with id=1 and user with username name@domain.tld. Unfortunately when username is email address is not possible to login.

    com.openexchange.exception.OXException: CTX-0010 Categories=USER_INPUT Message='Context "domain.tld" cannot be found.' exceptionID=-6069891-7

    I understood that OX automaticly split email address to localpart and domain and use localpart as login and domain for context mapping. Can I disable this behavior, I need create contexts independent for domains.

    I have open-xchange 7.6.1-5 with open-xchange-authentication-imap on debian 7.

    USE_FULL_LOGIN_INFO=true
    USE_MULTIPLE=false
    com.openexchange.mail.loginSource=mail

    I will be gratefull for any help.

  2. #2
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    If you want to login using the email address this only works if the domain part can be mapped to a context. In the other direction that means that you cannot spread the same mail domain over different contexts.
    At least that is how it works with open-xchange-authentication-imap. Email addresses are not usable as login identifier directly. If you need that you would have to implement your own authentication plugin which can map from an email address to the real user@context

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •