Forum Discussion

Lukas_145238's avatar
Lukas_145238
Icon for Altostratus rankAltostratus
Apr 02, 2014

Python/Bigsuds: change_my_password does not work for guest user

Hi,

I'd like to change the password of a user with guest permissions on a BIG-IP v10.2.4 using python with bigsuds. Although the login is successful (I can get a list of pools etc.), Management.UserManagement.change_my_password exits with an error:

ServerError: Server raised fault: 'Exception caught in Management::urn:iControl:Management/UserManagement::change_my_password()
Exception: Common::OperationFailed
        primary_error_code   : 17238053 (0x01070825)
        secondary_error_code : 0
        error_string         : 01070825:3: Access denied - Administrators only: User (guestuser) is not an Administrator and must supply the old password.'

How can I either supply the old password or change my password any other way?

Thanks in advance

Lukas

  • it doesn't look like from the methods descriptions that a guest can change their own password in iControl. Non-guest accounts are working fine with that method to change the password. It is possible to change guest accounts on their behalf without the old password:

    b.Management.UserManagement.change_password_2(['guest1'],[{'is_encrypted': 0, 'password': 'letmein99'}])