<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">That I can help with.<br>
<br>
Once your kolab 3.1 installation is done (I think I've seen it's
possible in Kolab 3.0, but..), you have to edit/correct a couple
of things:<br>
<br>
1) You have to download and run this script:<br>
<br>
<pre wrap=""><a class="moz-txt-link-freetext" href="https://github.com/tpokorra/kolab3_tbits_scripts/blob/master/kolab3.1/initMultiDomain.sh">https://github.com/tpokorra/kolab3_tbits_scripts/blob/master/kolab3.1/initMultiDomain.sh</a>
with a single parameter: your cn=Directory Manager password
It will update a number of files...
Oh! You know what? I'm attaching the initMultiDomain.sh script that I modified to automate some patches download, in order to make things simpler. Because if you don't check the script before running it, chances are that it will fail to complete since you'll be missing 4 patches.
Maybe someone would want to replace the online script with the one I just provided? It's the exact same thing, but just easier to run.
</pre>
Done for the base setup. Now, you can create the domain, and this
will create another ldap tree... completely isolated from the
first one. But the creation of the domain won't help much at that
point. Log out from the Kolab Admin Panel, then log back in. On
the top right, left from Logout, you'll see a text menu with your
default domain (the one you created during instalation). Click on
it, and you'll get a menu allowing to change the domain on which
to work. Now, you can create a user in the domain you want.<br>
<br>
But there's more to do. Actually, the setup-kolab install script
does not create certificates. So once your user is created, you
won't see it appear under /var/spool/imap/domain/ structure.
Why? Because the pykolab script can't log to the imap server
since tls is not available, as there's no certificates.<br>
<br>
Here's the recipe (adapt it for your environment):<br>
<br>
<ul>
<li><font face="Calibri, serif"><font style="font-size: 11pt"
size="2">openssl req -new -nodes -out req.pem -keyout
key.pem</font></font></li>
<li><font face="Calibri, serif"><font style="font-size: 11pt"
size="2">openssl rsa -in key.pem -out new.key.pem</font></font></li>
<li><font face="Calibri, serif"><font style="font-size: 11pt"
size="2">openssl x509 -in req.pem -out ca-cert -req
-signkey new.key.pem -days 3650</font></font></li>
<li><font face="Calibri, serif"><font style="font-size: 11pt"
size="2"><span lang="fr-CA">cp new.key.pem </span></font></font><font
face="Calibri, serif"><font style="font-size: 11pt" size="2"><span
lang="en-US">/etc/pki/cyrus-imapd/cyrus-imapd.pem</span></font></font></li>
<li><font face="Calibri, serif"><font style="font-size: 11pt"
size="2">cat ca-cert >>
/etc/pki/cyrus-imapd/cyrus-imapd.pem</font></font></li>
</ul>
<title></title>
<meta name="GENERATOR" content="LibreOffice 4.0.5.2 (Windows)">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
--></style>Now, you have a certificate you can work with. By the time
you check, your user directory will probably be created. Depending
on the distro you're using (I assume CentOS), you will probably
see a lot of errors in .... well, I don't remember the logfile
name :-) , but you'll see errors complaining that /etc/sasldb2
does not exist. You just need to create a dummy file with:<br>
<br>
saslpasswd2 /etc/sasldb2<br>
<br>
and set appropriate permissions:<br>
<br>
chown cyrus /etc/sasldb2<br>
chmod 640 /etc/sasldb2<br>
<br>
Now, you should have a setup to play with.<br>
<br>
Cheers!<br>
<br>
Christian...<br>
<br>
On 2013-10-30 22:20, Erik M Jacobs wrote:<br>
</div>
<blockquote cite="mid:5271BE72.7010606@jumpshipservices.co"
type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/30/2013 09:51 PM, Erik M Jacobs wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 10/13/2013 11:41 AM, Christian Hügel wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Am 10.10.2013 11:54, schrieb Torsten Grote:
</pre>
<blockquote type="cite">
<pre wrap="">On Thursday 10 October 2013 11:49:53 Timotheus Pokorra wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I was able to add a new domain, and to create users in that
domain, without changing the kolab.conf file.
</pre>
</blockquote>
<pre wrap="">
Awesome! :)
I somehow missed this. How did we achieve that?
Kind Regards, Torsten
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">I can confirm this. Created domains in webadmin-gui doesn't
require editing kolab.conf anymore.
</pre>
</blockquote>
<pre wrap="">
Sorry to revive this old thread.
I just did an update against the development repo, but I'm not sure
it pulled in the latest things.
As an example, I created a domain in the webadmin, but it did not
seem to add anything in ldap (didn't create an additional OU), and
I can't figure out how to add a user in that domain.
What version of things do I need to be on? Do I need to add the
nightly repo? Do I need to modify kolab.conf or other config
files?
I'm quite the kolab newbie.
</pre>
</blockquote>
<pre wrap="">
I've now updated against the nightly repo. When I add a domain I can
see that various entries were added in ldap (new dc, new ous, etc).
When I go to the users tab, I still only see the "people" ou on the
original domain, and not the new domain.
I don't see any way to add a user inside the new domain.
I am guessing I need to make some changes to kolab.conf - perhaps with
the base_dn settings and others? I am not sure.
Cheers,
E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - <a class="moz-txt-link-freetext" href="http://www.enigmail.net/">http://www.enigmail.net/</a>
iQEcBAEBAgAGBQJScb5yAAoJEHFuw9ycpkFhZ0EH/R3wn7JP3nhhHoCeen+AfwiM
cGJ9HISj/WnTW4Fmi2p0NIniiBXs1yj9VHqcIPmPIoXE5UpNEhGZmh21/PiSPz1g
azgorCCef59c8d+fEdTmJIhh+P3hd9jbQaLvZzDw99bDqM6/pTTChx4Xmw4WVuXU
XwUPyIYD5bu/yhI7Fogu9p9DUgF/yBUjzxZBieDOfqsfkEw/8u97HlUziOBYt2vX
xZPV6V+Dvz8TXlDIshmos8zRvFfs+djDu7mOf0HX8rsua+RhOfP6URDzfuQDBzbw
i5YQO2bXOoj1rp0I31c9Lf+bWyI4cIETx7F/XBlRteGHRSvHHEu2p7NCvJwrAbc=
=7tbs
-----END PGP SIGNATURE-----
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>