[SOGo] Re: Failing authentication using LDAP

Patrick Mulrooney sogo@opengroupware.org
Thu, 10 Apr 2008 11:12:42 -0500


Solved it.

Had typed SOGoAuthenticationMethod instead of 
SOGoAuthentificationMethod, and now I feel stupid for working on it for 
3 days without noticing it.

Pat

sogo-request@opengroupware.org wrote:
> Send SOGo mailing list submissions to
> 	sogo@opengroupware.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.opengroupware.org/mailman/listinfo/sogo
> or, via email, send a message with subject or body 'help' to
> 	sogo-request@opengroupware.org
>
> You can reach the person managing the list at
> 	sogo-admin@opengroupware.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SOGo digest..."
>
>   
> ------------------------------------------------------------------------
>
> Today's Topics:
>
>    1. Failing authentication using LDAP (Patrick Mulrooney)
>    2. problem compiling SOGo (Brent Roberts)
>    3. test (Wolfgang Sourdeau)
>   
>
> ------------------------------------------------------------------------
>
> Subject:
> [SOGo] Failing authentication using LDAP
> From:
> Patrick Mulrooney <mulroony@uiuc.edu>
> Date:
> Wed, 09 Apr 2008 10:03:40 -0500
> To:
> sogo@opengroupware.org
>
> To:
> sogo@opengroupware.org
>
>
>
> 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.
>
>
> ------------------------------------------------------------------------
>
> Subject:
> [SOGo] problem compiling SOGo
> From:
> Brent Roberts <brent@globalopensource.net>
> Date:
> Wed, 9 Apr 2008 18:47:14 -0700
> To:
> sogo@opengroupware.org
>
> To:
> sogo@opengroupware.org
>
>
> Hello all.
>
> I am having some trouble compiling SOGo.  After I do:
>
> ./configure --with-gnustep --enable-strip --disable-debug
>
> make ends with:
>
> make[2]: Entering directory `/home/brent/SOGo-trunk/SoObjects/SOGo'
> Making all for library libSOGo...
>  Compiling file SOGoCache.m ...
> In file included from SOGoCache.m:27:
> SOGoUser.h:124: error: syntax error before "NSMutableDictionary"
> SOGoUser.h:125: fatal error: method definition not in class context
> compilation terminated.
>
>
> I have all the needed packages (Apache, Postgresql, etc) installed witht he 
> libs and devel packages as well.  I'm using SOPE-trunk and SOGo-trunk... 
> pulled the sources today using svn.
>
> I installed GNUstep from the sources with the SOPE-trunk directory using the 
> following:
>
> cd gnustep-make
> ./configure --prefix=$HOME/GNUstep \
> --with-config-file=$HOME/GNUstep/GNUstep.conf \
> --without-system-root \
> --with-network-root=$HOME/GNUstep \
> --with-local-root=$HOME/GNUstep \
> --with-user-root=$HOME/GNUstep \
> --with-library-combo=gnu-fd-nil
> make install
>
> I installed SOPE with this:
>
> ./configure --with-gnustep --enable-strip --disable-debug
> make && make install
>
> I tried to compile SOGo with this:
>
> cd ../SOGo-trunk
> ./configure --with-gnustep --enable-strip --disable-debug
> make
>
> but it ends as I described above.
>
> I'm on CentOS 4.
>
> Please let me know if any further information is needed.
>
> Thanks in advance!
>
> -Brent Roberts
>   
>
> ------------------------------------------------------------------------
>
> Subject:
> [SOGo] test
> From:
> Wolfgang Sourdeau <wsourdeau@inverse.ca>
> Date:
> Wed, 09 Apr 2008 23:26:54 -0400
> To:
> sogo@opengroupware.org
>
> To:
> sogo@opengroupware.org
>
>
> Please ignore
>

-- 
Patrick Mulrooney
Research Programmer
UIUC School of Life Sciences
mulroony@life.uiuc.edu
333 Morrill Hall
Office - 217.333.2756
Help - 217.333.7525
Cell - 708.359.2556