Forum

Posts by broyer (broyer)

broyer
broyer
Posts: 6

Good, thanks Benoit, I will check this ans tell you. Thanks.

2 yrs RDM + DVLS Yubikey Authentication
broyer
broyer
Posts: 6

Hi, i'm trying to implement 2FA with yubikey, here is my configuration :
RDM 13.0.5.0
DVLS 4.7.0.0
Yubikey Neo

If I enable the yubikey on RDM options/security/2FA everything goes fine, but only my local RDM is protected, so I've disabled it.

Now if I enable 2FA on DVLS datasource (optional/yubikey) :

image

and set yubikey on user account with the option "configure later by user".

image

Then I launch RDM and connect to the datasource I've modified and touch my yubikey to register it...

image

I've this error and receive the mail in attachment to the case.

Devolutions.RemoteDesktopManager.Business.TryGoOfflineException: Unexpected exception ---> System.Net.WebException: Unexpected exception
à Devolutions.Server.ApiWrapper.RestClient.GetResponse[T](HttpWebRequest request)
à Devolutions.Server.ApiWrapper.RDMSWebClient.SaveTwoFactorInfo(String userSecurityEntityID, TwoFactorInfo twoFactorInfo)
à Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.ceac77138a4fb1abbe7b36e4fb6438a17.c20c7024e6a92cd5380842b0e837ff56e()
à Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.c5f4f6c72c053c0cd60a62abeeaa43fdf[cb75a0a5d15a1ad8b8a8a5e57cca214a3](c31561c0d54939abd223ac7c0cf30e7e6`1 c6cc9ab02b2ea9ccd42c7c0497677bcc2)
--- Fin de la trace de la pile d'exception interne ---

Any idea will be nice.
Thanks

2 yrs RDM + DVLS Yubikey Authentication
broyer
broyer
Posts: 6

Awesome ! Thanks a lot.

2 yrs How to enable "Use Windows Authentication" on a DVLS DataSource in Powershell
broyer
broyer
Posts: 6

Hi, is there a possibility to enable "Use windows authentication" on a DVLS DataSource in powershell ?
I'm able to create the datasource with "New-RDMDataSource -DVLS" but not to enable this, i've tried to use Set-RDMDatasourceproperty but didn't know the property.
Can you help me ?

2 yrs How to enable "Use Windows Authentication" on a DVLS DataSource in Powershell
broyer
broyer
Posts: 6

Yes, the account used for domain authentication is just member of the domain users group but it has full read permissions access to the AD.
The account which doesn't is in the same OU than the others.

3 yrs Error while connecting to Devolutions Server through RDM with AD User
broyer
broyer
Posts: 6

Hi,
We'je just deployed our Devolutions Server, authentication is based on a AD group (not a nested one).
Five persons are in the group, everything goes fine for four of them but the fifth cannot.

Same error on RDM and on the web interface, we have deleted and re-created the user. It works for a while and finally the error came back.
Any idea to help us ?

Devolutions Server 4.0.7 (same on 4.0.6)
RDM 12.0.8

Thanks a lot !
The following error was received by a user at 16/01/2017 14:15:15
Error:
PrincipalOperationException - Une référence a été renvoyée par le serveur. à System.DirectoryServices.AccountManagement.ADStoreCtx.LoadDirectoryEntryAttributes(DirectoryEntry de) à System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.MoveNextMemberEnum() à System.DirectoryServices.AccountManagement.ADDNLinkedAttrSet.MoveNext() à System.DirectoryServices.AccountManagement.ADDNConstraintLinkedAttrSet.MoveNext() à System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext() à System.Linq.Enumerable.d__1`1.MoveNext() à System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) à Devolutions.RemoteDesktopManager.Business.DirectoryServicesGetUserDetailsResult.AssignFromPrincipalSearchResult(Principal principal, PrincipalSearchResult`1 directoryGroups) dans c:\Dev\devolutions\RemoteDesktopManager\Business\Results\DirectoryServicesGetUserDetailsResult.cs:ligne 63 à Devolutions.RemoteDesktopManager.Managers.DirectoryServicesManager.GetUserDetails(String fullName, DirectoryServicesQueryParameter directoryServicesQueryParameter, Boolean isMultiDomain, Boolean isNested, RoleInfoEntity[] roleNames) dans c:\Dev\devolutions\RemoteDesktopManager\Business\Managers\DirectoryServicesManager.cs:ligne 374 à Devolutions.Server.Providers.RDMSMembershipProvider.CheckPasswordActiveDirectoryMultiDomain(String username, String password, MembershipLoginData membershipLoginData) dans c:\Dev\devolutions\Websites\Server\Providers\RDMSMembershipProvider.cs:ligne 864 à Devolutions.Server.Providers.RDMSMembershipProvider.DoValidateUserAgainstDomain(UserInfoEntity userInfoEntity, String password, MembershipLoginData membershipLoginData, Boolean addLoginData) dans c:\Dev\devolutions\Websites\Server\Providers\RDMSMembershipProvider.cs:ligne 1094 à Devolutions.Server.Providers.RDMSMembershipProvider.DoValidateUser(String username, String password, MembershipLoginData loginData) dans c:\Dev\devolutions\Websites\Server\Providers\RDMSMembershipProvider.cs:ligne 1014 à Devolutions.Server.Providers.RDMSMembershipProvider.AuthenticateUser(MembershipLoginData loginData, String userName, String password) dans c:\Dev\devolutions\Websites\Server\Providers\RDMSMembershipProvider.cs:ligne 761 à Devolutions.Server.Providers.RDMSMembershipProvider.DoValidateUserFull(String userName, String password, MembershipLoginData loginData) dans c:\Dev\devolutions\Websites\Server\Providers\RDMSMembershipProvider.cs:ligne 1199 à Devolutions.Server.Controllers.APIControllers.v2.BackendApiController.DoLogin(HttpRequestMessage request, String userName, String password, ClientApplicationInfo clientApplicationInfo, String twoFactorID, TwoFactorInfo twoFactorInfo, String publicIPAddress, Byte[] sessionKey, String repositoryId, Boolean partialMode) dans c:\Dev\devolutions\Websites\Server\Website\Controllers\APIControllers\BackendApiController.Login.cs:ligne 911 à Devolutions.Server.Controllers.APIControllers.v2.BackendApiController.Login2(HttpRequestMessage request, JObject requestData, Boolean partialMode) dans c:\Dev\devolutions\Websites\Server\Website\Controllers\APIControllers\BackendApiController.Login.cs:ligne 313 à lambda_method(Closure , Object , Object[] ) à System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.b__9(Object instance, Object[] methodParameters) à System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext() --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée --- à System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) à System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext() ------------------------------------------ DirectoryServicesCOMException - Une référence a été renvoyée par le serveur. à System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) à System.DirectoryServices.DirectoryEntry.Bind() à System.DirectoryServices.DirectoryEntry.RefreshCache() à System.DirectoryServices.AccountManagement.ADStoreCtx.LoadDirectoryEntryAttributes(DirectoryEntry de) --- Default

Source:
System.DirectoryServices.AccountManagement

3 yrs Error while connecting to Devolutions Server through RDM with AD User