[SOGo] new installation - login impossible

Ruben Jenster sogo@opengroupware.org
Mon, 07 Jan 2008 18:02:19 +0100


Hi Wolfang,

thanks for the rapid answer.
I tried to get LDAP working, but I'm a real noob concerning LDAP.
(although I think ldap might not be the only problem)

Below my configuration.


/etc/openldap/slapd.conf:

#######################################

include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/mozillaAbPersonAlpha.schema

pidfile         /var/run/openldap/slapd.pid
argsfile        /var/run/openldap/slapd.args

allow bind_v2

database        bdb
suffix          "dc=eiszeit,dc=blogdns,dc=net"
checkpoint      32      30 # <kbyte> <min>
rootdn          "cn=Manager,dc=eiszeit,dc=blogdns,dc=net"
rootpw          {MD5}<encrypted password>
directory       /var/lib/openldap-data
index   objectClass     eq

loglevel 256
######################################


Is this a valid ldif to start with?

#############################################

# LDIF Export for: dc=eiszeit,dc=blogdns,dc=net
# Generated by phpLDAPadmin ( http://phpldapadmin.sourceforge.net/ ) on 
January 7, 2008 4:24 pm
# Server: eiszeit.blogdns.net (127.0.0.1)
# Search Scope: sub
# Search Filter: (objectClass=*)
# Total Entries: 3

dn: dc=eiszeit,dc=blogdns,dc=net
objectClass: top
objectClass: organization
objectClass: dcObject
description: My personal LDAP Server
o: eiszeit.blogdns.net
dc: eiszeit

dn: cn=SOGoUsers,dc=eiszeit,dc=blogdns,dc=net
objectClass: posixGroup
objectClass: top
cn: SOGoUsers
gidNumber: 1000

dn: cn=Ruben Jenster,cn=SOGoUsers,dc=eiszeit,dc=blogdns,dc=net
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: top
givenName: Ruben
sn: Jenster
cn: Ruben Jenster
uid: ruben
userPassword: {MD5}<encrypted password>
uidNumber: 1000
gidNumb

################################################


is  bindDN the same as rootdn?

bindDN = "<the DN of the login name to user for binding to your server>";

it is neither working with with

bindDN = "cn=Ruben Jenster,cn=SOGoUsers,dc=eiszeit,dc=blogdns,dc=net";

nor with

bindDN = "cn=Manager,dc=eiszeit,dc=blogdns,dc=net";

Below is the output of sogod.

Should the password be unencrypted in GNUstepDefaults?
Is it possible to log in as 'ruben' with passwort <decrypted password> 
when I have the
following in .GNUstepDefaults ?


###################################################



        SOGoAuthentificationMethod = LDAP;
        SOGoLDAPSources = (
            {
                CNFieldName = cn;
                IDFieldName = cn;
                UIDFieldName = uid;
                baseDN = "cn=SOGoUsers,dc=eiszeit,dc=blogdns,dc=net";
                bindDN = "cn=Ruben 
Jenster,cn=SOGoUsers,dc=eiszeit,dc=blogdns,dc=net";
                bindPassword = <decrypted password>;
                canAuthenticate = YES;
                hostname = localhost;
                id = private;
                port = 389;
            }

###############################################


I really assume that something other than LDAP is faulty.

Any idea?


Wolfgang Sourdeau schrieb:
> Hi Ruben,
>
>
> The "bypass" method is currently known to not work. You should use ldap instead.
>
>
> Thanks
>
>   

sogo@bierstadt ~ $ sogod-0.9
2008-01-07 17:41:53.798 sogod-0.9[16015] starting SOGo (build 
portage@bierstadt 200801071357)
2008-01-07 17:41:53.800 sogod-0.9[16015] Note: vmem size check enabled: 
shutting down app when vmem > 200 MB
Jan 07 17:41:53 sogod-0.9 [16015]: SNS support disabled.
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]> 
scanning SOGo products in: /home/sogo/GNUstep/Library/SOGo-0.9
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]> 
scanning SOGo products in: /usr/GNUstep/Local/Library/SOGo-0.9
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]> 
scanning SOGo products in: /usr/GNUstep/Network/Library/SOGo-0.9
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]> 
scanning SOGo products in: /usr/GNUstep/System/Library/SOGo-0.9
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: MailerUI.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: Contacts.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: Mailer.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: PreferencesUI.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: SchedulerUI.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: Appointments.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: MailPartViewers.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: CommonUI.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: MainUI.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]>   
register SOGo product: ContactsUI.SOGo
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]> 
scanning SOGo products in: /usr/local/lib/sogod-0.9
Jan 07 17:41:53 sogod-0.9 [16015]: <0x0x82ff6b8[SOGoProductLoader]> 
scanning SOGo products in: /usr/lib/sogod-0.9
2008-01-07 17:41:54.017 sogod-0.9[16015] Note: fetching full mail header.
2008-01-07 17:41:54.019 sogod-0.9[16015] Note(SOGoMailObject): using 
constant etag for mail parts: '"imap4url_0_9_126"'
2008-01-07 17:41:54.023 sogod-0.9[16015] Note: using SOGo mail spool 
folder: /tmp/
2008-01-07 17:41:54.024 sogod-0.9[16015] Note(SOGoMailBodyPart): using 
constant etag for mail parts: '"imap4url_0_9_126"'
2008-01-07 17:41:54.025 sogod-0.9[16015] Note: using shared-folders 
name:      '(nil)'
2008-01-07 17:41:54.025 sogod-0.9[16015] Note: using other-users-folders 
name: '(nil)'
2008-01-07 17:41:54.026 sogod-0.9[16015] Note: using other-users-folders 
name: '(nil)'
Jan 07 17:41:54 sogod-0.9 [16015]: [WARN] [so-secinfo SOGoUserFolder] 
tried to declare object permission twice! (perm=view,private=no,public=no)
Jan 07 17:41:54 sogod-0.9 [16015]: [WARN] [so-secinfo SOGoUserFolder] 
tried to set default role of 'webdav access' twice! (set to (Authenticated))
Jan 07 17:41:54 sogod-0.9 [16015]: |SOGo-0.9| WOHttpAdaptor listening on 
address *:20000
2008-01-07 17:42:03.411 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:03.412 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:03 GMT] "GET 
/SOGo.woa/WebServerResources/busy.gif HTTP/1.1" 200 825/0 0.012 - - 36K
2008-01-07 17:42:03.428 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:03.430 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
2008-01-07 17:42:03.490 sogod-0.9[16015] Note(SoObject): 
SoDebugKeyLookup is enabled!
2008-01-07 17:42:03.490 sogod-0.9[16015] Note(SoObject): SoDebugBaseURL 
is enabled!
2008-01-07 17:42:03.491 sogod-0.9[16015] Note(SoObject): relative base 
URLs are enabled.
2008-01-07 17:42:03.498 sogod-0.9[16015] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers 
available for MIME type 'text/calendar', using 'VSCardSaxDriver' as 
default for type text/calendar.
2008-01-07 17:42:03.499 sogod-0.9[16015] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers 
available for MIME type 'text/x-vcard', using 'VSCardSaxDriver' as 
default for type text/x-vcard.
192.168.178.14 - - [07/Jan/2008:17:42:03 GMT] "POST /ruben/connect 
HTTP/1.1" 204 0/42 0.127 - - 1M
2008-01-07 17:42:03.677 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:03.677 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
Jan 07 17:42:03 sogod-0.9 [16015]: <0x0x846b618[SOGoWebAuthenticator]> 
tried wrong password for user 'ruben'!
2008-01-07 17:42:03.818 sogod-0.9[16015] User agent = Mozilla/5.0 (X11; 
U; Linux i686; de; rv:1.8.1.11) Gecko/20080104 Firefox/2.0.0.11
2008-01-07 17:42:03.861 sogod-0.9[16015] User agent = Mozilla/5.0 (X11; 
U; Linux i686; de; rv:1.8.1.11) Gecko/20080104 Firefox/2.0.0.11
192.168.178.14 - - [07/Jan/2008:17:42:03 GMT] "GET /ruben/ruben 
HTTP/1.1" 200 2019/0 0.188 5819 65% 956K
2008-01-07 17:42:04.022 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.022 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/generic.css HTTP/1.1" 200 15080/0 0.129 - - 8K
2008-01-07 17:42:04.325 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.325 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/dtree.css HTTP/1.1" 200 664/0 0.008 - - 0
2008-01-07 17:42:04.460 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.461 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/SOGoRootPage.css HTTP/1.1" 200 1158/0 
0.006 - - 0
2008-01-07 17:42:04.605 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.606 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/lori-login.jpg HTTP/1.1" 200 7861/0 0.008 
- - 0
2008-01-07 17:42:04.619 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.620 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/busy.gif HTTP/1.1" 200 825/0 0.004 - - 0
2008-01-07 17:42:04.781 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.781 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/events.js HTTP/1.1" 200 5440/0 0.006 - - 0
2008-01-07 17:42:04.989 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:04.990 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:04 GMT] "GET 
/ruben.woa/WebServerResources/fastinit.js HTTP/1.1" 200 2925/0 0.006 - - 0
2008-01-07 17:42:05.144 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:05.144 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:05 GMT] "GET 
/ruben.woa/WebServerResources/prototype.js HTTP/1.1" 200 124136/0 0.667 
- - 212K
2008-01-07 17:42:06.543 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:06.544 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:06 GMT] "GET 
/ruben.woa/WebServerResources/tablekit.js HTTP/1.1" 200 28879/0 0.191 - - 0
2008-01-07 17:42:06.987 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:06.988 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:06 GMT] "GET 
/ruben.woa/WebServerResources/tablekit-trueresize.js HTTP/1.1" 200 
4265/0 0.005 - - 0
2008-01-07 17:42:07.184 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:07.184 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:07 GMT] "GET 
/ruben.woa/WebServerResources/JavascriptAPIExtensions.js HTTP/1.1" 200 
9347/0 0.007 - - 0
2008-01-07 17:42:07.432 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:07.432 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:07 GMT] "GET 
/ruben.woa/WebServerResources/HTMLElement.js HTTP/1.1" 200 5808/0 0.007 
- - 0
2008-01-07 17:42:07.647 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:07.648 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:07 GMT] "GET 
/ruben.woa/WebServerResources/HTMLInputElement.js HTTP/1.1" 200 1700/0 
0.007 - - 0
2008-01-07 17:42:07.796 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:07.797 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:07 GMT] "GET 
/ruben.woa/WebServerResources/HTMLTableElement.js HTTP/1.1" 200 1061/0 
0.007 - - 0
2008-01-07 17:42:07.939 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:07.940 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:07 GMT] "GET 
/ruben.woa/WebServerResources/HTMLUListElement.js HTTP/1.1" 200 207/0 
0.006 - - 0
2008-01-07 17:42:08.066 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:08.066 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:08 GMT] "GET 
/ruben.woa/WebServerResources/generic.js HTTP/1.1" 200 37506/0 0.191 - - 0
2008-01-07 17:42:08.590 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:08.590 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:08 GMT] "GET 
/ruben.woa/WebServerResources/SOGoDragAndDrop.js HTTP/1.1" 200 9101/0 
0.007 - - 0
2008-01-07 17:42:08.835 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:08.836 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:08 GMT] "GET 
/ruben.woa/WebServerResources/SOGoDragHandles.js HTTP/1.1" 200 4871/0 
0.008 - - 0
2008-01-07 17:42:09.040 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:09.040 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:09 GMT] "GET 
/ruben.woa/WebServerResources/SOGoRootPage.js HTTP/1.1" 200 1870/0 0.007 
- - 0
2008-01-07 17:42:09.204 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:09.205 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:09 GMT] "GET /ruben/jsonDefaults 
HTTP/1.1" 404 42/0 0.163 - - 20K
2008-01-07 17:42:09.495 sogod-0.9[16015] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2008-01-07 17:42:09.495 sogod-0.9[16015] could not get DNS name of 
address 192.168.178.14 in domain <InternetDomain[0x0x8465430]>: 1
192.168.178.14 - - [07/Jan/2008:17:42:09 GMT] "GET /ruben/jsonSettings 
HTTP/1.1" 404 42/0 0.218 - - 0