create kolab user from command line

Timotheus Pokorra timotheus at
Tue Sep 29 12:48:03 CEST 2015

Hello Dumitru,

>> How can i create kolab users from command line?

Have a look at this command:
kolab add-user

It asks for the parameters interactively.

But if you want, you can write a small python script as well, passing
an array parameter with these values:

 {'type_id': '1', u'preferredlanguage': u'en_US', 'object_type':
'user', u'objectclass': [u'inetorgperson', u'kolabinetorgperson',
u'mailrecipient', u'organizationalperson', u'person', u'top'], u'sn':
'Pokorra', u'mail': 'test at', u'ou':
u'ou=people,dc=kolab,dc=pokorra,dc=de', u'givenname': 'Timo'}

see the code:

hope this helps,

More information about the users mailing list