From 8682c5ad05a9dff8ba3575ff5c4e8ceb535f6c5e Mon Sep 17 00:00:00 2001 From: Nan Zhou Date: Sat, 13 Nov 2021 11:00:07 -0800 Subject: 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 Change-Id: I88e4e6fa6ed71096bc866b42b9af283645a65988 --- meson_options.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'meson_options.txt') 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') -- cgit v1.2.3