adressbook setings in Kontact/Kmail

Troy Carpenter troy at carpenter.cx
Tue May 7 16:55:04 CEST 2013


I love responding to my own emails ;)

It seems that I have some type of TLS/SSL issue with my LDAP server.  Everything is working fine with respect to normal internal Kolab operation.

To get around this issue, I turned off the security in Kontact (select the "No" button in the security section of the LDAP server configuration listed in step 4 below), but obviously left the authentication as simple since anonymous binds are still not allowed.


-----Original Message-----
From: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] On Behalf Of Troy Carpenter
Sent: Tuesday, May 07, 2013 10:19 AM
To: kolab-users at kolab.org
Subject: RE: adressbook setings in Kontact/Kmail

I've checked the slapd-mail error log, and this is what I get when I do a LDAP query from Kontact:

[07/May/2013:10:10:55 -0400] conn=10110 fd=236 slot=236 connection from 192.168.254.3 to 192.168.254.11
[07/May/2013:10:10:55 -0400] conn=10110 op=0 EXT oid="1.3.6.1.4.1.1466.20037"
[07/May/2013:10:10:55 -0400] conn=10110 op=0 RESULT err=2 tag=120 nentries=0 etime=0
[07/May/2013:10:10:55 -0400] conn=10110 op=1 UNBIND
[07/May/2013:10:10:55 -0400] conn=10110 op=1 fd=236 closed - U1



-----Original Message-----
From: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] On Behalf Of Troy Carpenter
Sent: Tuesday, May 07, 2013 9:46 AM
To: kolab-users at kolab.org
Subject: RE: adressbook setings in Kontact/Kmail

Thanks.  This is a great write-up and I found and changed the settings as directed (It looks like the account wizard for Kolab doesn't fully configure the LDAP correctly).  Now I get the following error:

"Could not connect to host unsupported extended operation"

I don't see anything else to change on the LDAP configuration table, so it is probably something on the Kolab server.  So close...

Troy


-----Original Message-----
From: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] On Behalf Of Fenuks
Sent: Tuesday, May 07, 2013 1:00 AM
To: kolab-users at kolab.org
Subject: Re: adressbook setings in Kontact/Kmail

Hello,

I'm using Kontact 4.10.1 on Gentoo. I could find no wizards to set up Kolab, but setting everything manually just works.
First, LDAP address book is just a LDAP address book, does not have to be part of Kolab. Second, I would recommend using secure ldap connection, so either TLS over 389 port or ldaps.
Here's how I set it up:
1) In Kontact go to Settings-Configure Kontact…
2) There go to Contacts-LDAP Server Settings
3) Click Add Host… (if you already have one that's not working, select it and click Edit Host…)
4) There settings should be like:
  Security: TLS (or SSL)
  Authentication: Simple (this will unlock Bind DN and Password fields)
  Bind DN: uid=useruid,ou=People,dc=yourdomain,dc=tld (assuming you're using
Kolab3 and your user with useruid is in the domain yourdomain.tld)
  Password: your password obviously
  Host: yourhost.yourdomain.tld (name of your mail server)
  DN: dc=yourdomain,dc=tld
  LDAP version: 3 (should be there by default)
5) Pointless to click Query server, unless your server was set up to accept anonymous binds.
6) Click Ok and make sure your server is ticked in the LDAP servers list. 
Click Ok in settings and you should be done.
To check that things are working:
1) Compose new letter
2) In To line click Select… button
3) There Search Directory Service
4) Enter name of the recipient you know is in your LDAP and click Search
5) If you did everything right, it will find your recipient. Select and click Add Selected
6) Check that added recipient has correct name and email in To field.
7) Send the mail to be completely sure

Hope it helps.
Regards,
Alexej Ruseckij

_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users

_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users

_______________________________________________
Kolab-users mailing list
Kolab-users at kolab.org
https://www.intevation.de/mailman/listinfo/kolab-users




More information about the users mailing list