summaryrefslogtreecommitdiffstats
path: root/ipapython/errors.py
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2015-09-23 13:27:35 +0200
committerJan Cholasta <jcholast@redhat.com>2015-09-23 17:05:47 +0200
commita758f16abe608569e3797b048676c3eb245d784a (patch)
tree828f9d61f7b236b227a812a3ed64fe19201e4798 /ipapython/errors.py
parent4c39561261e79fe1cfdef916eafbcb9c204e77e8 (diff)
downloadfreeipa-a758f16abe608569e3797b048676c3eb245d784a.tar.gz
freeipa-a758f16abe608569e3797b048676c3eb245d784a.tar.xz
freeipa-a758f16abe608569e3797b048676c3eb245d784a.zip
winsync-migrate: Convert entity names to posix friendly strings
During the migration from winsync replicated users to their trusted identities, memberships are being preserved. However, trusted users are external and as such cannot be added as direct members to the IPA entities. External groups which encapsulate the migrated users are added as members to those entities instead. The name of the external group is generated from the type of the entity and its name. However, the entity's name can contain characters which are invalid for use in the group name. Adds a helper function to convert a given string to a string which would be valid for such use and leverages it in the winsync-migrate tool. https://fedorahosted.org/freeipa/ticket/5319 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'ipapython/errors.py')
0 files changed, 0 insertions, 0 deletions