how to migrate no POSIX user to freeipa
hi
i want migrate my user from ldap to freeipa
but some user haven't POSIX attribute
so i run
ipa migrate-ds --bind-dn=cn=manager,dc=zyz,dc=com ldap://172.16.10.202:389 --user-ignore-attribute=jpegPhoto passwd
migrate-ds:
Migrated:
Failed user:
admin: admin is not a POSIX user
akoegel: akoegel is not a POSIX user
alex: This entry already exists
aliu: This entry already exists
bcui: This entry already exists
blin: blin is not a POSIX user
bzhu: bzhu is not a POSIX user
so。。
how to migrate no POSIX user to freeipa ?
thanks
Responses
Hi there, the Issue is missing gidnumber - at least the first one ;) you can fix this by editing
/usr/lib/python2.7/site-packages/ipaserver/plugins/migration.py
find
if 'gidnumber' not in entry_attrs:
and add existing gidnumber after that (comment the existing block before) - something like this :
entry_attrs['gidnumber'] = '1056000001'
(reset httpd after editing)
regards --ez
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
