Hi All,
I'm getting this error through the web interface.
i'm trying to reset a user password.
i can reset using the admin account. but the user himself cannot reset their own password.
using the user account i can log into the web interface.
Code
Error #2002:
exception 'OMVException' with message 'Invalid method parameter: gid does not exist, and it is not an optional property.' in /usr/share/php/openmediavault/rpcservice.inc:187
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/usermgmt.inc(516): OMVRpcServiceAbstract->validateMethodParams(Array, '{\n\t\t\t "type":"...')
#1 [internal function]: OMVRpcServiceUserMgmt->setUser(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/openmediavault/engined/rpc/usermgmt.inc(662): OMVRpcServiceAbstract->callMethod('setUser', Array, Array)
#4 [internal function]: OMVRpcServiceUserMgmt->setUserByContext(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setUserByContex...', Array, Array)
#7 /usr/sbin/omv-engined(500): OMVRpc::exec('UserMgmt', 'setUserByContex...', Array, Array, 1)
#8 {main}
Alles anzeigen
i've check /etc/passwd and /etc/group
and the group id in the passwd exist in the /etc/group file.
all users are in the group 'users'
i dont want my users to ssh in and change their password.
any help is appreciated