<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">I'm halfway through (decided to go with
shell scripting as it is probably much easier for anyone to deal
with it). The domain creation is working. These objects are
created:<br>
<font color="#ff0000"><br>
dn: associateddomain=frodo.baggins,cn=kolab,cn=config<br>
associatedDomain: frodo.baggins<br>
objectClass: top<br>
objectClass: domainrelatedobject<br>
objectClass: inetdomain<br>
<br>
dn: cn="dc=frodo,dc=baggins",cn=mapping tree,cn=config<br>
objectClass: top<br>
objectClass: extensibleObject<br>
objectClass: nsMappingTree<br>
nsslapd-state: backend<br>
cn: dc=frodo,dc=baggins<br>
nsslapd-backend: frodo_baggins<br>
<br>
dn: cn=frodo_baggins,cn=ldbm database,cn=plugins,cn=config<br>
objectClass: top<br>
objectClass: extensibleobject<br>
objectClass: nsbackendinstance<br>
cn: frodo_baggins<br>
nsslapd-suffix: dc=frodo,dc=baggins<br>
nsslapd-cachesize: -1<br>
nsslapd-cachememsize: 10485760<br>
nsslapd-readonly: off<br>
nsslapd-require-index: off<br>
nsslapd-dncachememsize: 10485760<br>
<br>
dn: dc=frodo,dc=baggins<br>
dc: frodo<br>
objectClass: top<br>
objectClass: domain<br>
<br>
dn: cn=Directory Administrators,dc=frodo,dc=baggins<br>
objectClass: top<br>
objectClass: groupofuniquenames<br>
cn: Directory Administrators<br>
uniqueMember: cn=Directory Manager<br>
<br>
dn: ou=Groups,dc=frodo,dc=baggins<br>
objectClass: top<br>
objectClass: organizationalunit<br>
ou: Groups<br>
<br>
dn: ou=People,dc=frodo,dc=baggins<br>
objectClass: top<br>
objectClass: organizationalunit<br>
ou: People<br>
<br>
dn: ou=Special Users,dc=frodo,dc=baggins<br>
objectClass: top<br>
objectClass: organizationalunit<br>
ou: Special Users<br>
<br>
dn: ou=Resources,dc=frodo,dc=baggins<br>
objectClass: top<br>
objectClass: organizationalunit<br>
ou: Resources<br>
<br>
dn: ou=Shared Folders,dc=frodo,dc=baggins<br>
objectClass: top<br>
objectClass: organizationalunit<br>
ou: Shared Folders</font><br>
<br>
Some more objects has been created automatically. After that,
from /kolab-webadmin interface, I can see the domain, and can add
users to it. I can see that the mailbox is being created (<font
color="#ff0000">/var/spool/imap/domain/f/frodo.baggins/c/user/christian^tardif/</font><br>
<br>
On the "database" side, I can see that <font color="#ff0000">/var/lib/imap/domain/f/frodo.baggins/quota/c/user.christian^tardif</font>
is being created, but I would expect to also see <font
color="#ff0000">/var/lib.imap/domain/f/frodo.baggins/user/c/christian^tardif.sub</font>,
but unfortunately not.<br>
<br>
The main noticeable problem I have now is that I can't login with
the newly created user. I changed the password on the webadmin
interface, but I still can't login.<br>
<br>
Where should I look at ?<br>
<br>
Christian...<br>
<br>
On 2013-11-05 22:44, Christian Tardif wrote:<br>
</div>
<blockquote cite="mid:5279BB17.5040301@servinfo.ca" type="cite">Interesting.
I never thought at looking on the PHP side for that...
<br>
<br>
I'll do some testing and let know about the results /
modifications.
<br>
<br>
Thanks, Timotheus
<br>
<br>
Christian...
<br>
<br>
On 2013-11-05 02:44, Timotheus Pokorra wrote:
<br>
<blockquote type="cite">Hello Christian,
<br>
I am using a php script that I wrote. I have not published it
yet, but
<br>
now here it is:
<br>
<a class="moz-txt-link-freetext" href="https://gist.github.com/tpokorra/7315298">https://gist.github.com/tpokorra/7315298</a>
<br>
It parses the ldif file, and creates the domains and the users
in
<br>
those domains, and the domain admins as well, using the existing
kolab
<br>
php functions.
<br>
<br>
It is not completely uptodate, meaning I am still working on the
TBits
<br>
ISP/multidomain scripts.
<br>
But I guess you will have to modify it for your installation
anyway,
<br>
since there is no "default Kolab 2.x installation" out there, as
I was
<br>
told...
<br>
<br>
I hope this helps,
<br>
Timotheus
<br>
<br>
On 5 November 2013 05:02, Christian Tardif
<a class="moz-txt-link-rfc2396E" href="mailto:christian.tardif@servinfo.ca"><christian.tardif@servinfo.ca></a> wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
I'd like to script the conversion of my LDAP database from
Kolab 2.3 to
<br>
Kolab 3.1 (multiple domains), and release a script along with
doc regarding
<br>
this. I'm actually able to auto-create the corresponding LDIF
file needed to
<br>
add the domain(s) and user(s) to the Kolab 3.1 environment....
<br>
<br>
My problem is that for every domain, a new tree must be built
into 389
<br>
Directory server. I did try to use this command:
<br>
<br>
ldapmodify -D "cn=Directory Manager" -w *********** -f
onedomain.ldif
<br>
<br>
and this onedomain.ldif file contains something like that:
<br>
<br>
dn: dc=onedomain,dc=ca
<br>
changetype: add
<br>
dc: onedomain
<br>
objectClass: top
<br>
objectClass domain
<br>
<br>
dn: cn=Directory Administrators,.....
<br>
.........
<br>
<br>
It seems that my first entry fails... which does not surprise
me. What do I
<br>
need to do in order to create this dc=onedomain,dc=ca tree ?
<br>
<br>
Thanks,
<br>
<br>
Christian...
<br>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
<br>
</blockquote>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.kolab.org/mailman/listinfo/users">https://lists.kolab.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
</body>
</html>