diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2021-11-13 22:00:07 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-11-18 21:05:41 +0300 |
commit | 8682c5ad05a9dff8ba3575ff5c4e8ceb535f6c5e (patch) | |
tree | 0efb6cb0d458ae5775cf9b8887083ec7e0fca1e6 /meson_options.txt | |
parent | 997093eb732dc889bd76f7aaa65e16a2aa4d7224 (diff) | |
download | bmcweb-8682c5ad05a9dff8ba3575ff5c4e8ceb535f6c5e.tar.xz |
meson_options: implement disable-auth; delete pam
Implemented the disable-auth option.
This patch also removed the pam option which never worked.
Tested:
With disable-auth,
```
~# wget -qO- http://localhost/redfish/v1/Systems/
{
"@odata.id": "/redfish/v1/Systems",
"@odata.type": "#ComputerSystemCollection.ComputerSystemCollection",
"Members": [
{
"@odata.id": "/redfish/v1/Systems/system"
}
],
"Members@odata.count": 1,
"Name": "Computer System Collection"
}
```
Without disable-auth,
```
~# wget -qO- http://localhost/redfish/
{
"v1": "/redfish/v1/"
}
~# wget -qO- http://localhost/redfish/v1/Systems/system
wget: server returned error: HTTP/1.1 401 Unauthorized
```
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I88e4e6fa6ed71096bc866b42b9af283645a65988
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt index 6c0f6434c4..e2addbc0c0 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,3 @@ -option('pam', type: 'feature', value : 'enabled', description : 'Built static libraries') option('yocto-deps', type: 'feature', value: 'disabled', description : 'Use YOCTO dependencies system') option('kvm', type : 'feature',value : 'enabled', description : 'Enable the KVM host video WebSocket. Path is \'/kvm/0\'. Video is from the BMC\'s \'/dev/video\' device.') option ('tests', type : 'feature', value : 'enabled', description : 'Enable Unit tests for bmcweb') |