kolab 3 with multiple domains

Chris Fleming me at chrisfleming.org
Wed Dec 19 00:41:42 CET 2012

On Tue, Dec 18, 2012 at 02:23:21PM +0100, Torsten Grote wrote:
> Hi Chris,
> On Tuesday 18 December 2012 12:44:51 Chris Fleming wrote:
> > Now when I login, I can see the and have choosen the new domain from the top
> > right hand corner, but when I go to try and add a user, the e-mail
> > addresses generated are for the right domain, but I can't change the
> > Organisational Unit from my primary domain.
> Does this help?
>     https://issues.kolab.org/show_bug.cgi?id=1420

Perfect thanks, I added the base_dn entry and that worked a treat.

I've ended up doing a few things that aren't documented anywhere, for the postfix .cf files I ended creating 2 sets of files, one with:
search_base = dc=%2,dc=%1

to cover .com type addresses and 
search_base = dc=%3,dc=%2,dc=%1

to cover .co.uk style addresses.

I still couldn't get the roundcube login working, but in the kolab_auth.inc.php I ended up with:

    list($name,$_) = explode('@', $_POST['_user']);
    $base_dn = 'ou=People,dc=' . implode(',dc=', explode('.', $_)  );

I then set the base_dn entry in the kolab_auth_addressbook array to use this calculated value. Anyone know if there is an easier way of doing this?


e: me at chrisfleming.org

More information about the users mailing list