openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. Thanks to the modular design of the framework it can be enhanced via plugins. openmediavault is primarily designed to be used in home environments or small home offices.
To trigger a login, simply call
curl http://omv7box.local/login.php -u "admin:admin"
from a command line or an equal call via Python request/whatever.On successful log in the following response will be returned:
The session ID is only returned at the first log in attempt of a user. It is also submitted via
header.
The session ID can be sent via the
X-OPENMEDIAVAULT-SESSIONID
header or cookie on all following RPC requests.Fixes: https://github.com/openmediavault/openmediavault/issues/1747