This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
Password change success message but fails to actually change #408
Labels
wontfix
Problem, or not; this won't be fixed here at least.
PassCore Server
Describe the bug
We're testing the trial of the pro version but when a user changes their password they recieve a success message but their password is unchanged. The user does have permission to change their password and performing a Set_ADAccountPassword from the command line works fine. User can also edit other details in Passcore such as mobile without issues.
From log...
08:50:48.244 INF >> [DirectoryServicesProvider] PerformPasswordChange for user s.nelson@ourdomain.com
08:50:48.447 INF >> [DirectoryServicesProvider] s.nelson@ourdomain.com can change password False
08:50:48.463 TRC >> [RoutingModuleBase] [YcMVZAfUhkO8pHka139rPw] Route /changePassword : Success
08:50:48.463 INF >> [WebServer] [YcMVZAfUhkO8pHka139rPw] POST /api/changePassword: "200 OK" sent in 228ms (chunked)
08:50:48.463 ERR >> [DirectoryServicesProvider] Failed to update password: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
$type : System.DirectoryServices.AccountManagement.PrincipalOperationException
ErrorCode : -2147023174
Message : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
InnerException : object
$type : System.Runtime.InteropServices.COMException
ErrorCode : -2147023174
Message : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Source :
HResult : -2147023174
TargetSite : Void SetPassword(System.DirectoryServices.DirectoryEntry, System.String)
StackTrace :
at System.DirectoryServices.AccountManagement.SDSUtils.SetPassword(DirectoryEntry de, String newPassword)
at System.DirectoryServices.AccountManagement.ADStoreCtx.SetPassword(AuthenticablePrincipal p, String newPassword)
at Unosquare.PassCorePro.Providers.DirectoryServicesProvider.PerformPasswordChange(String userName, String newPassword, Nullable`1 type)
Source : System.DirectoryServices.AccountManagement
HResult : -2146233087
The text was updated successfully, but these errors were encountered: