ConnectionBrokerDbContext DB and connection string
See original GitHub issueHi!
I’ve set up 2.7.1 and enabled Enterprise mode, but can’t connect to anything, most probably because ConnectionBrokerDbContext is pointing to (presumably) dev test server:
<add name="ConnectionBrokerDbContext" providerName="System.Data.SqlClient" connectionString="data source=WIN-0VSDKGKDTPI.myrtlab.local;initial catalog=RDCB;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework" />
At least I think this is why NRE is logged:
ERROR System.Diagnostics redirection [(null)] - Unable to get session connection details System.NullReferenceException: Object reference not set to an instance of an object. at Myrtille.Services.EnterpriseService.GetSessionConnectionDetails(String sessionID, Int64 hostID, String sessionKey)
Disabling Enterprise mode works, but I’d like to know how to setup local ConnectionBrokerDbContext DB using SqlServer Compact…
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top GitHub Comments
Hi!
Ok, now I got it how this is controlled, thanks a lot for clarifications 😃 You are right, that Myrtille letting someone connect does not mean they will be able to, I am fine with that 😃
And yes, somehow I did not find that previously reported issue with password expiration policy set to 0 (which is actually a default).
Thank you for fixing this.
Hi,
Administrators for the enterprise mode are domain users members of the
EnterpriseAdminGroup
. They can create the hosts (shortcuts) and define the allowed groups or users allowed to connect them, so it doesn’t make much sense to prevent them from connecting the hosts if they didn’t allowed themselves to connect them. But that only mean they are be able to try to connect them with myrtille (wfreerdp); in the end, successful connections depends on the host themselves (if they allow or not the user).About the expired password, this is something which was already reported (https://github.com/cedrozor/myrtille/issues/76) but was overlooked. Thanks for the investigation 😃 I fixed it into the upcoming release