summaryrefslogtreecommitdiff
path: root/include/pam_authenticate.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-10-12 02:40:35 +0300
committerEd Tanous <ed.tanous@intel.com>2017-10-25 00:19:43 +0300
commitba9f9a6cebfbb7a12ecf869afa0cdc5aef9c8372 (patch)
tree67345df8b98aecb87480b827b10e1ca2ece5876a /include/pam_authenticate.hpp
parent911ac31759cb7b77a856af8806b4e064d50d7422 (diff)
downloadbmcweb-ba9f9a6cebfbb7a12ecf869afa0cdc5aef9c8372.tar.xz
Update Webserver
Upate get_routes to use the correct constness for its use case crow to set json_mode if json value is populated Delete std::array bytes API due to major efficiency issues. To be replaced with span API in near future Implement a catch block for handlers that can throw exceptions Implement direct handling of routes that end with / to better support redfish. /foo and /foo/ now invoke the same handler insead of issuing a 301 redirect Update nlohmann to latest version Implement one nlohmann endpoint with exceptions disabled Implement first pass at a IBM style rest-dbus interface Fix pam authentication to call dropbear auth methods Implements first pass at redfish interface. Shemas avaialble pass redfish validation 100% Use response json object rather than request json object. Update authorization middleware to be redfish compliant UPdate random token generation to be more efficient, and not base64 bytes, generate bytes directly Change-Id: I63cc2005c1a21f5c2f5168777a4e09f3c965a34f
Diffstat (limited to 'include/pam_authenticate.hpp')
-rw-r--r--include/pam_authenticate.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pam_authenticate.hpp b/include/pam_authenticate.hpp
index 0825dd6d9f..d0ca1b0398 100644
--- a/include/pam_authenticate.hpp
+++ b/include/pam_authenticate.hpp
@@ -37,7 +37,7 @@ inline bool pam_authenticate_user(const std::string& username,
pam_function_conversation, const_cast<char*>(password.c_str())};
pam_handle_t* local_auth_handle = NULL; // this gets set by pam_start
- if (pam_start("su", username.c_str(), &local_conversation,
+ if (pam_start("dropbear", username.c_str(), &local_conversation,
&local_auth_handle) != PAM_SUCCESS) {
return false;
}