[Freeipa-users] How to mass import users and groupe
Götz Reinicke
goetz.reinicke at filmakademie.de
Thu Dec 4 10:40:38 UTC 2008
Dmitri Pal schrieb:
> Götz Reinicke wrote:
>> Hi,
>>
>> for now I'm playing with freeipa. Firstly I'd like to use the directory
>> for lookups, therefore I'm looking for a easy way to import user data.
>> (name, e-mail, phone, location, ...)
>>
>>
> You can create a script that will use ipa-adduser command or use
> ldapmodify command and follow the standard syntax.
> If you are going to migrate passwords you can pass the user password
> attribute in LDIF in clear text and the DS plugins will do the right
> thing (freeIPA 1.2 or later).
O.K. and thank you.
Adding the basic information work; could you give me a hint, how to add
more attributes?
ipa-adduser -f Götz -l Reinicke -p TestPassword -M
goetz.reinicke at filmakademie.de -c Götz Reinicke
works
ipa-adduser -f Götz -l Reinicke -p TestPassword -M
goetz.reinicke at filmakademie.de --addattr=organization=Filmakademie
--addattr=username=greinick -c Götz Reinicke
fails
A database error occurred: Object class violation: attribute "username"
not allowed
Thanks and best regards
Götz
--
Götz Reinicke
IT-Koordinator
Tel. +49 7141 969 420
Fax +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de
Filmakademie Baden-Württemberg GmbH
Mathildenstr. 20
71638 Ludwigsburg
www.filmakademie.de
Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner
Staatsrätin für Demographischen Wandel und für Senioren im Staatsministerium
Geschäftsführer:
Prof. Thomas Schadt
More information about the Freeipa-users
mailing list