General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] Multiple Username Formats/Separate IMAP Servers


Chronological Thread 
  • From: < >
  • To:
  • Subject: [SOGo] Multiple Username Formats/Separate IMAP Servers
  • Date: Thu, 31 Mar 2011 11:42:17 -0400 (EDT)

Hello all,
Thank you for taking the time to answer this. I have thus far gotten SOGo set
up in my organization as far as the backend and Web interface is concerned. I
am running into an issue that stems from my organization's Imap server
layout.
We have two incoming Email servers (one is hosted externally for remote users,
the other internal). It's about a 50/50 split for the amount of accounts on
each server. The issue is that our internal IMAP server accepts usernames in
one format (jdoe) whereas the external IMAP server requires a different format
( ).
When Using Thunderbird with the Inverse Lightening add-on
and sogo connector/integrator (Not sure which does what, so I installed both),
Thunderbird passes to SOGo whatever the "User Name" field is under "Server
Settings" for an account.
An Example from my sogo.log file is as follows:

10.27.xxx.xxx - - [31/Mar/2011:11:40:50 GMT] "REPORT
/SOGo/dav/rdanove/Calendar/personal/ HTTP/1.1" 207 125/245 0.013 - - 0

This is an Internal User's Thunderbird client successfully pulling info.

10.27.xxx.xxx - - [31/Mar/2011:12:02:27 GMT] "REPORT
/SOGo/dav/ /Contacts/public/
HTTP/1.1" 401 0/339 0.008 - - 0
Mar 31 12:02:27 sogod [16703]: <0x0x9d41380[SOGoDAVAuthenticator]> tried wrong
password for user
' '!

This is an External imap user's Thunderbird client getting the user name
kicked
back.

10.27.xxx.xxx - - [31/Mar/2011:12:26:41 GMT] "GET
/SOGo/so/jbobson/Calendar/view HTTP/1.1" 200 10719/0 0.085 42467 74% 500K

That Same user successfully pulling data from the web interface, having logged
in as just "Jbobson"

Our LDAP Server is a windows Active Directory, of which the domain is a
different name than the email domain (local.mydomain.com)
So in order to authenticate against the LDAP server, the username must either
by the name alone (jdoe) or match the userPrincipalName of
.
I can populate the mail field with the correct email
address for all users, as almost all are already correct. Is it possible to
have the SOGo Server strip the end part out of the username (@mydomain.com)
when passing it to LDAP for authentication, or is it otherwise possible to add
multiple fields for it to query using the UIDFieldName property?


  • [SOGo] Multiple Username Formats/Separate IMAP Servers, jrussell, 03/31/2011

Archive powered by MHonArc 2.6.18.

Top of page