General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] can't log in to the web interface


Chronological Thread 
  • From: Joel Carnat < >
  • To: < >
  • Subject: [SOGo] can't log in to the web interface
  • Date: Wed, 24 Nov 2010 16:48:53 +0100

Hello,

I'm currently looking at replacing my Zarafa system with SOGo.
I've setup an external OpenLDAP, Dovecot IMAP server, MySQL and Postfix
server (192.168.12.150) which works (tested with remote Mutt).
I've setup a SOGo 1.3.4 on an Ubuntu Server 10.04.1/amd64 (192.168.12.151)
using the "SOGo Installation Guide.pdf".

My goal is to have users authenticated from OpenLDAP (postfix, dovecot and
apache already does this).
If possible, I'd also like to have user's contacts in OpenLDAP so that any
mail client can poll them using LDAP.

At this moment, I have setup a poorly secured configuration but I plan to
harden it latter with SSL and strong passwords.

I currently have to following configuration:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN"
"http://www.gnustep.org/plist-0_9.xml";>
<plist version="0.9">
<dict>
<key>NSGlobalDomain</key>
<dict>
</dict>
<key>sogod</key>
<dict>
<key>GCSFolderDebugEnabled</key>
<string>TRUE</string>
<key>GCSFolderStoreDebugEnabled</key>
<string>TRUE</string>
<key>LDAPDebugEnabled</key>
<string>YES</string>
<key>NGImap4DisableIMAP4Pooling</key>
<string>TRUE</string>
<key>OCSFolderInfoURL</key>

<string>mysql://sogo: :3306/sogo/sogo_folder_info</string>
<key>OCSFolderManagerSQLDebugEnabled</key>
<string>TRUE</string>
<key>PGDebugEnabled</key>
<string>TRUE</string>
<key>SOGoACLsSendEMailNotifications</key>
<string>YES</string>
<key>SOGoAppointmentSendEMailNotifications</key>
<string>YES</string>
<key>SOGoDebugRequests</key>
<string>TRUE</string>
<key>SOGoDraftsFolderName</key>
<string>Drafts</string>
<key>SOGoFirstDayOfWeek</key>
<string>1</string>
<key>SOGoFoldersSendEMailNotifications</key>
<string>YES</string>
<key>SOGoIMAPServer</key>
<string>192.168.12.150</string>
<key>SOGoLanguage</key>
<string>French</string>
<key>SOGoLoginModule</key>
<string>Mail</string>
<key>SOGoMailDomain</key>
<string>tumfatig.local</string>
<key>SOGoMailMessageCheck</key>
<string>every_2_minutes</string>
<key>SOGoMailingMechanism</key>
<string>smtp</string>
<key>SOGoProfileURL</key>

<string>mysql://sogo: :3306/sogo/sogo_user_profile</string>
<key>SOGoSMTPServer</key>
<string>192.168.12.150</string>
<key>SOGoSentFolderName</key>
<string>Sent</string>
<key>SOGoTimeZone</key>
<string>Europe/Paris</string>
<key>SOGoTrashFolderName</key>
<string>Trash</string>
<key>SOGoUIxDebugEnabled</key>
<string>TRUE</string>
<key>SOGoUserSources</key>
<array>
<dict>
<key>CNFieldName</key>
<string>cn</string>
<key>IDFieldName</key>
<string>uid</string>
<key>UIDFieldName</key>
<string>uid</string>
<key>baseDN</key>
<string>dc=tumfatig,dc=local</string>
<key>bindDN</key>
<string>cn=admin,dc=tumfatig,dc=local</string>
<key>bindPassword</key>
<string>vierge</string>
<key>canAuthenticate</key>
<string>YES</string>
<key>displayName</key>
<string>TMF LDAP Server</string>
<key>hostname</key>
<string>192.168.12.150</string>
</dict>
</array>
<key>SoSecurityManagerDebugEnabled</key>
<string>TRUE</string>
</dict>
</dict>
</plist>

The "/etc/apache2/conf.d/SOGo.conf" contains:
RequestHeader set "x-webobjects-server-port" "80"
RequestHeader set "x-webobjects-server-name" "ubuntu.tumfatig.local"
RequestHeader set "x-webobjects-server-url" "http://ubuntu.tumfatig.local";

My LDAP users look like:
dn:
,ou=users,o=tumfatig,dc=tumfatig,dc=local
mail:

cn: Joel Carnat
givenName: Joel
homeDirectory: /home/vmail
mailbox: tumfatig.net/ptijo/
objectClass: CourierMailAccount
objectClass: inetOrgPerson
objectClass: top
sn: Carnat
uid: ptijo

Connecting to the MySQL from the SOGo/ubuntu server works
( :~$
mysql -h 192.168.12.150 -u sogo -p sogo).
Browsing the LDAP from the SOGo/ubuntu also works
( :~$
ldapsearch -x -h 192.168.12.150 -D "cn=admin,dc=tumfatig,dc=local" -W -b
"dc=tumfatig,dc=local" uid=ptijo).
Connecting to the IMAP server with telnet also works from the SOGo/Ubuntu
server.

When I browse to http://ubuntu.tumfatig.local/SOGo/, I get the login prompt.
When I enter a login/password ("uid" field in LDAP) that works on the IMAP
server, I get a "bad username or password" message from SOGo.
I've setup a few debug parameters on SOGo but I can't find anything useful to
understand what happens :(
According to the LDAP and IMAP server, SOGo doesn't even try to connect to
them...

Any idea on what I did wrong ?

TIA,
Jo



Archive powered by MHonArc 2.6.16.

Top of page