Windows 10 RDM Windows Credentials as Application Password

Windows 10 RDM Windows Credentials as Application Password

avatar

Environment

Remote Desktop Manager 10.0.4 (Latest version we're licensed for, can't upgrade)

Windows 10 Professional

SQL Server Datasource

Datasource sets the "Use Windows credentials as application password"

This is a fresh install on a system that is not joined to the domain. We start the application using the network credentials (wrote a script to prompt the user for domain credentials and start RDM with the network credentials so we can authenticate to the SQL server) and it then prompts for the Windows credentials, prepopulated with Username: <PC Name>\<current user name>. We enter the password for the logged in user and it does not accept the password. We have this successfully working on other systems which are part of a different domain, so the PC is part of domain A, the SQL server and RDM application execute with domain B, and then the user types their domain A password in the box. We haven't experienced this issue until we tried to open RDM on a non-domain system. I've tried just username and password, using the domain credentials (prepended and not), to no avail.

All Comments (6)

avatar

As a side note, if I can just disable Windows credentials as application password for this system via the local config/xml file, that's a perfectly acceptable workaround.

avatar

[1/13/2016 4:10:23 PM]ERROR SILENT System.DirectoryServices.AccountManagement.PrincipalServerDownException: The server could not be contacted. ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.

at System.DirectoryServices.Protocols.LdapConnection.Connect()

at System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID)

at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)

at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request)

at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)

--- End of inner exception stack trace ---

at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)

at System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()

at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)

at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType)

at Devolutions.RemoteDesktopManager.Managers.LockManager.ValidateIntegratedSecurity(String username, String password)

[1/13/2016 4:10:29 PM]ERROR SILENT System.IO.FileNotFoundException: The system cannot find the file specified.

at System.DirectoryServices.AccountManagement.UnsafeNativeMethods.IADs.Get(String bstrName)

at System.DirectoryServices.AccountManagement.CredentialValidator.BindSam(String target, String userName, String password)

at System.DirectoryServices.AccountManagement.CredentialValidator.Validate(String userName, String password)

at System.DirectoryServices.AccountManagement.PrincipalContext.ValidateCredentials(String userName, String password)

at Devolutions.RemoteDesktopManager.Managers.LockManager.ValidateIntegratedSecurity(String username, String password)

[1/13/2016 4:10:29 PM]ERROR SILENT System.DirectoryServices.AccountManagement.PrincipalServerDownException: The server could not be contacted. ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.

at System.DirectoryServices.Protocols.LdapConnection.Connect()

at System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID)

at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)

at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request)

at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)

--- End of inner exception stack trace ---

at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)

at System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()

at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)

at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType)

at Devolutions.RemoteDesktopManager.Managers.LockManager.ValidateIntegratedSecurity(String username, String password)

avatar

Hi,

I know that a Windows 10 update broke the local credential validation and we had to rewrite the module in RDM 11. This could be related to your issue.

Regards

David Hervieux

avatar

Thanks David. Since I can't upgrade to 11 due to our license, is there anywhere locally I can disable that check anyhow? Or any other workaround you could think of?

avatar

I don't know any workaround. Could you just try RDM 11 Trial to see if it does resolve the problem?

David Hervieux

avatar

Hey David - Yes, I just download Enterprise 11.0.18.0 and can confirm it works. Thanks