<html>
  <head>
    <meta content="text/html; charset=ISO-8859-15"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I still got the problem that the
      mailHost field from LDAP is ignored by kolab-webclient.<br>
      Found in config/ldap_authentication.inc.php that it seems to be
      possible to pass values from LDAP on $rcmail_config variables<br>
      So I set the following<br>
      <br>
      <<<br>
      # tried mailhost as well but does not work eighter<br>
      $rcmail_config['default_host'] = 'mailHost';<br>
      >><br>
      <br>
      to add the LDAP mailHost field as the default host.<br>
      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.<br>
      <br>
      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.<br>
      Is it maybe a bug in kolab which leads to ignore the mailHost
      field when set in LDAP?<br>
      <br>
      I checked tha LDAP logs and according to them the login from
      kolab-webclient gets a result back from LDAP (nentries=1)<br>
      <br>
      <<<br>
      [09/Sep/2013:16:33:46 +0200] conn=696 op=1 RESULT err=0 tag=101
      nentries=1 etime=0<br>
      >><br>
      <br>
      Any hint would be really highly appreciated.<br>
      Everything else from kolab works fine, just the webclient does
      behave weird :-)<br>
      <br>
      Thanks<br>
      <br>
      tobi<br>
      <br>
      Am 04.09.2013 16:46, schrieb Tobias Szyndler:<br>
    </div>
    <blockquote cite="mid:522747D6.4000909@datapark.ch" type="cite">
      <pre wrap="">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

</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <font size="5em">Datapark AG</font><br>
      Hubstrasse 101<br>
      CH-9500 Wil/SG<br>
      <br>
      +41 71 560 60 60<br>
      <a href="mailto:szyndler@datapark.ch">szyndler@datapark.ch</a> | <a
        href="http://www.datapark.ch">www.datapark.ch</a></div>
  </body>
</html>