Kolab-Webmail seems to ignore mailHost from LDAP
Tobias Szyndler
szyndler at datapark.ch
Mon Sep 9 16:47:29 CEST 2013
I still got the problem that the mailHost field from LDAP is ignored by
kolab-webclient.
Found in config/ldap_authentication.inc.php that it seems to be possible
to pass values from LDAP on $rcmail_config variables
So I set the following
<<
# tried mailhost as well but does not work eighter
$rcmail_config['default_host'] = 'mailHost';
>>
to add the LDAP mailHost field as the default host.
But according to tcpdump the IMAP connection from kolab-webclient to the
cyrus backend is always performed on localhost. Which can never work in
my environment.
Is it simply not possible to set the default_host from LDAP? If I
manually set default_host to the backend's IP then it works like expected.
Is it maybe a bug in kolab which leads to ignore the mailHost field when
set in LDAP?
I checked tha LDAP logs and according to them the login from
kolab-webclient gets a result back from LDAP (nentries=1)
<<
[09/Sep/2013:16:33:46 +0200] conn=696 op=1 RESULT err=0 tag=101
nentries=1 etime=0
>>
Any hint would be really highly appreciated.
Everything else from kolab works fine, just the webclient does behave
weird :-)
Thanks
tobi
Am 04.09.2013 16:46, schrieb Tobias Szyndler:
> Hello list
>
> got a problem with a multi server setup of kolab 3.0
> Actually I have a LDAP server and a mailbox server. On a third server I
> want to have the webmail-client (roundcube) running. LDAP is fine and
> connects to the correct mailbox server according to mailHost setting of
> the user in LDAP. New accounts can be created on imap. So the
> communication between LDAP and mailbox server should be okay.
> The problem is the third server which runs the webmail. For me it seems
> that the webmailclient does not use the mailHost attribute from LDAP. It
> always connects to localhost, which fails as on the webmail server there
> is no imap. I saw in main.in.php that there is a default_host setting
> which i commented out. Then the webmail login showed me a third line to
> specify the server to which the webmail connects. But even if I set
> there the correct IP address of the imap server the logins always fail.
> The strange thing is that according to cyrus logs (on mailbox server)
> the logins from roundcube are valid and access is granted. But roundcube
> always shows "login failed".
> The main question is: Is there a way for roundcube to get the mailHost
> information from LDAP? So the user does not have to know which backend
> he/she actually is on.
>
> Thanks for any tip
>
> tobi
>
--
Datapark AG
Hubstrasse 101
CH-9500 Wil/SG
+41 71 560 60 60
szyndler at datapark.ch <mailto:szyndler at datapark.ch> | www.datapark.ch
<http://www.datapark.ch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20130909/b64742da/attachment.html>
More information about the users
mailing list