version 1.3, 2013/06/13 12:27:30
|
version 1.3.10.1, 2013/11/21 06:39:11
|
|
|
AuthenticationStatus PAMSessionBasicAuthenticator::updateExpiredPassword( | AuthenticationStatus PAMSessionBasicAuthenticator::updateExpiredPassword( |
const String& userName, | const String& userName, |
const String& oldPass, | const String& oldPass, |
const String& newPass) |
const String& newPass, |
|
const String& ipAddress) |
{ | { |
PEG_METHOD_ENTER(TRC_AUTHENTICATION, | PEG_METHOD_ENTER(TRC_AUTHENTICATION, |
"PAMSessionBasicAuthenticator::updateExpiredPassword()"); | "PAMSessionBasicAuthenticator::updateExpiredPassword()"); |
|
|
int pamRC = _PAMUpdateExpiredPassword( | int pamRC = _PAMUpdateExpiredPassword( |
userName.getCString(), | userName.getCString(), |
oldPass.getCString(), | oldPass.getCString(), |
newPass.getCString()); |
newPass.getCString(), |
|
ipAddress.getCString()); |
| |
AuthenticationStatus authStatus = _getAuthStatusFromPAM_RC(pamRC); | AuthenticationStatus authStatus = _getAuthStatusFromPAM_RC(pamRC); |
| |