kolab ldap migration questions.

Gunnar Wrobel wrobel at pardus.de
Thu Feb 5 15:40:30 CET 2009


Quoting John McMonagle <johnm at advocap.org>:

> John McMonagle wrote:
>> Bernhard Reiter wrote:
>>> On Donnerstag, 22. Januar 2009, John McMonagle wrote:
>>>
>>>> Here is  one of our current records:
>>>> dn: uid=bradb,ou=People,dc=advocap,dc=org
>>>> uid: bradb
>>>>
>>>
>>>> One possible problem I see is in the People dn records.
>>>> Will kolab work with my People dn entries?
>>>>
>>>
>>> I think it should (would need a through test).
>>>
>> I finally  did a simple test.
>> I added our extra schema and then imported one of our user records.
>>
>> Worked fine after I remembered to add the extra kolab records :-)
>>
>> Need to test more, but looks good so far.
>>
> For my next test imported all of our current ldap records.
> That worked but having a problem  automating adding the  extra
> kolabInetOrgPerson records.
> Probably because I do not understand ldif  well enough :-(
>
> I thought this work  with ldapadd:
> dn: uid=test,ou=People,dc=advocap,dc=org
> objectClass: kolabInetOrgPerson
> kolabHomeServer: mailtest.advocap.org
> kolabInvitationPolicy: ACT_MANUAL
>
> gives:
> ldap_initialize( ldap://localhost )
> add objectClass:
>         kolabInetOrgPerson
> add kolabHomeServer:
>         mailtest.advocap.org
> add kolabInvitationPolicy:
>         ACT_MANUAL
> adding new entry "uid=test,ou=People,dc=advocap,dc=org"
> ldap_add: Object class violation (65)
>         additional info: no structural object class provided
>

Try to add a

objectClass: inetOrgPerson

to your entries as kolabInetOrgPerson is just an auxiliary class.  
There might be other stuff missing though.

Cheers,

Gunnar
> I can add kolabInetOrgPerson with ldapmodify
> dn: uid=test,ou=People,dc=advocap,dc=org
> changetype: modify
> add: objectClass
> objectClass: kolabInetOrgPerson
>
>
> But if I try to all it all with ldapmodify
> dn: uid=test,ou=People,dc=advocap,dc=org
> changetype: modify
> add: objectClass
> objectClass: kolabInetOrgPerson
> add: kolabHomeServer
> kolabHomeServer: mailtest.advocap.org
> add: kolabInvitationPolicy
> kolabInvitationPolicy: ACT_MANUAL
>
> This happens:
> ldapmodify: wrong attributeType at line 5, entry
> "uid=test,ou=People,dc=advocap,dc=org"
>
> What am I doing wrong?
>
> Thanks
>
> John
>
> --
> John McMonagle
> IT Manager
> Advocap Inc.
>
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.kolab.org/pipermail/users/attachments/20090205/d24dbea8/attachment.sig>


More information about the users mailing list