How would you suggest I re-factor this code so that the error is acceptable?
Regards,
Callum
--
Callum Smith
Research Computing Core
On
ke, 24 loka 2018, Callum Smith via FreeIPA-users wrote:
Dear Rob,
I'm using the python-freeipa library:
(client is initialised and logged in - tested and working with other calls such as user_show etc)
client.user_add(
options.username,
options.first_name,
options.last_name,
options.name,
mail=options.mail,
home_directory=options.home_directory,
uidnumber=options.uid if options.uid else -1,
gidnumber=options.primary_gid,
user_password=options.password,
)
Sorry,
this is not an API provided by the FreeIPA project. Please
contact
authors of python-freeipa (I think it was created by OpenNode
people)
and report them bugs you see there.
https://pypi.org/project/python-freeipa/
--
/
Alexander Bokovoy
Sr.
Principal Software Engineer
Security
/ Identity Management Engineering
Red
Hat Limited, Finland