[SOGo] Failing authentication using LDAP
Patrick Mulrooney
sogo@opengroupware.org
Wed, 09 Apr 2008 10:03:40 -0500
I cannot seem to get SOGo to authenticate no matter how I try to come in
(web interface, caldav via lightning, etc). Here are the logs I see...
2008-04-09 09:17:05.144 sogod-0.9[3792] starting SOGo (build root@sogo
200804011156)
2008-04-09 09:17:05.144 sogod-0.9[3792] Note: vmem size check enabled:
shutting down app when vmem > 200 MB
Apr 09 09:17:05 sogod-0.9 [3792]: SNS support disabled.
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
scanning SOGo products in: /home/sogo/GNUstep/Library/SOGo-0.9
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
scanning SOGo products in: /usr/GNUstep/Local/Library/SOGo-0.9
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
scanning SOGo products in: /usr/GNUstep/System/Library/SOGo-0.9
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: Appointments.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: PreferencesUI.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: Mailer.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: SchedulerUI.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: CommonUI.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: MailPartViewers.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: MainUI.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: MailerUI.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: Contacts.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
register SOGo product: ContactsUI.SOGo
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
scanning SOGo products in: /usr/local/lib/sogod-0.9
Apr 09 09:17:05 sogod-0.9 [3792]: <0x0x9677478[SOGoProductLoader]>
scanning SOGo products in: /usr/lib/sogod-0.9
2008-04-09 09:17:05.215 sogod-0.9[3792] Note: fetching full mail header.
2008-04-09 09:17:05.216 sogod-0.9[3792] Note(SOGoMailObject): using
constant etag for mail parts: '"imap4url_0_9_126"'
2008-04-09 09:17:05.217 sogod-0.9[3792] Note: using SOGo mail spool
folder: /var/spool/sogo
2008-04-09 09:17:05.217 sogod-0.9[3792] Note(SOGoMailBodyPart): using
constant etag for mail parts: '"imap4url_0_9_126"'
2008-04-09 09:17:05.217 sogod-0.9[3792] Note: using drafts folder
named: 'INBOX.Drafts'
2008-04-09 09:17:05.217 sogod-0.9[3792] Note: using shared-folders
name: 'Shared Folders'
2008-04-09 09:17:05.217 sogod-0.9[3792] Note: using other-users-folders
name: 'Other Users'
Apr 09 09:17:05 sogod-0.9 [3792]: |SOGo-0.9| WOHttpAdaptor listening on
address *:25000
2008-04-09 09:23:29.209 sogod-0.9[3792] Note(SoObject): SoDebugKeyLookup
is enabled!
2008-04-09 09:23:29.209 sogod-0.9[3792] Note(SoObject): SoDebugBaseURL
is enabled!
2008-04-09 09:23:29.209 sogod-0.9[3792] Note(SoObject): relative base
URLs are enabled.
2008-04-09 09:23:29.241 sogod-0.9[3792] WARNING(-[SaxXMLReaderFactory
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers
available for MIME type 'text/x-vcard', using 'VSvCardSaxDriver' as
default for type text/x-vcard.
2008-04-09 09:23:29.241 sogod-0.9[3792] WARNING(-[SaxXMLReaderFactory
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers
available for MIME type 'text/calendar', using 'VSiCalSaxDriver' as
default for type text/calendar.
2008-04-09 09:23:29.354 sogod-0.9[3792] User agent = Mozilla/5.0 (X11;
U; Linux i686; en-US; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5
Apr 09 09:23:29 sogod-0.9 [3792]: [WARN] |SOGo-0.9|
(SoObjectRootURLInContext:346): got an empty port from Apache!
2008-04-09 09:23:29.387 sogod-0.9[3792] User agent = Mozilla/5.0 (X11;
U; Linux i686; en-US; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5
130.126.48.69 - - [09/Apr/2008:09:23:29 GMT] "GET /SOGo HTTP/1.1" 200
1849/0 0.186 5763 67% 2M
2008-04-09 09:23:35.016 sogod-0.9[3792] Note: Using UTF-8 as URL
encoding in NGExtensions.
130.126.48.69 - - [09/Apr/2008:09:23:35 GMT] "POST /SOGo/connect
HTTP/1.1" 204 0/49 0.005 - - 12K
Apr 09 09:23:35 sogod-0.9 [3792]: <0x0x97e4668[SOGoWebAuthenticator]>
tried wrong password for user 'mulroony'!
2008-04-09 09:23:35.048 sogod-0.9[3792] User agent = Mozilla/5.0 (X11;
U; Linux i686; en-US; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5
2008-04-09 09:23:35.056 sogod-0.9[3792] User agent = Mozilla/5.0 (X11;
U; Linux i686; en-US; rv:1.9b5) Gecko/2008032619 Firefox/3.0b5
130.126.48.69 - - [09/Apr/2008:09:23:35 GMT] "GET /SOGo/mulroony
HTTP/1.1" 200 1889/0 0.014 5889 67% 32K
A little more background. I initially installed on Ubuntu Server from
the inverse trunk, and saw the same issue. I decided to try the rpms so
installed centos5. The installation went smoothly. It created the tables
in my postgresql database, but will not allow me to authenticate. I am
running Apache/2.2.3 and postgresql-server-8.1.11-1. We are running
openldap-2.3.30-3 on a different machine. If I try connecting via
ldapsearch, using all the same settings it works just fine. We do use
md5 encryption in our password field. I have also tried using tcpdump to
watch the outgoing traffic to our ldap server and I do not see any
packets being sent or received. Here is my configuration...
{
NSGlobalDomain = {
};
"sogod-0.9" = {
AgenorProfileURL =
"postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_user_profile";
NGUseUTF8AsURLEncoding = YES;
OCSFolderInfoURL =
"postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_folder_info";
SOGoAppointmentSendEMailNotification = YES;
SOGoAuthenticationMethod = LDAP;
SOGoDefaultLanguage = English;
SOGoDefaultMailDomain = mymailserver;
SOGoDraftsFolderName = INBOX.Drafts;
SOGoFallbackIMAP4Server = localhost;
SOGoLDAPSources = (
{
CNFieldName = cn;
IDFieldName = uid;
UIDFieldName = uid;
baseDN = "ou=people,restofbaseDN";
bindDN = "cn=manager,restofbindDN";
bindPassword = myPassword;
canAuthenticate = YES;
hostname = "MyLDAPServer";
displayName = "Authentication LDAP";
isAddressBook = NO;
id = public;
port = 389;
}
);
SOGoMailSpoolPath = "/var/spool/sogo";
SOGoMailingMechanism = smtp;
SOGoOtherUsersFolderName = "Other Users";
SOGoSMTPServer = MySMTPServer;
SOGoSentFolderName = INBOX.Sent;
SOGoServerTimeZone = America/Chicago;
SOGoSharedFolderName = "Shared Folders";
SOGoSpecialFoldersInRoot = YES;
SOGoTrashFolderName = INBOX.Trash;
SOGoUseLocationBasedSentFolder = YES;
SOGoUIxDebugEnabled = YES;
WOMessageUseUTF8 = YES;
WOParsersUseUTF8 = YES;
WOPort = 25000;
WOUseRelativeURLs = NO;
};
}
Thanks in advance for your help.
--
Patrick Mulrooney