Forum Discussion
Rich_W__77692
Oct 23, 2012Cirrus
Adding a user with Ruby & iControl
Hello.
I've been knocking my brains out trying to get the Ruby iControl gem to add a user to a device. The complex type on this one is throwing me for a loop. If I can get the simple code down, ...
Rich_W__77692
Oct 23, 2012Cirrus
Update:
The error I was getting with the code above was: ": Could not find element by name: name (SOAP::FaultError)"
I have since tried the following:
bigip["Management.UserManagement"].create_user_3([{'user' => [{'name' => 'Guest', 'full_name' => 'Guest User'}], 'password' => [{'is_encrypted' => 'false', 'password' => 'abcd'}], 'permissions' => [{'role' => 'USER_ROLE_GUEST', 'partition' => 'Common'}], 'login_shell' => ['/bin/false']}])
and I get a new error: ": Cannot convert null value to a boolean. (SOAP::FaultError)"
Is this progress? :)
Any help?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects