Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User session is disconnected immediately after login through RDP #159

Open
maheshmadhyastha7 opened this issue Feb 26, 2020 · 8 comments
Open

Comments

@maheshmadhyastha7
Copy link

maheshmadhyastha7 commented Feb 26, 2020

Hi,
I have pGina fork which is configured with custom plugin for authentication.
Everytime I try login through RDP, it says processing logon for the user. But after some time it disconnects immediately.
Need help urgently.
I am using pgina fork 3.9.9.12 on Windows Server 2019
pGina.Service.ServiceHost_log.txt

@maheshmadhyastha7
Copy link
Author

Can anyone help pls?

@MutonUfoAI
Copy link
Owner

As I've told you,
you don't have endless time available to finish your login process.

The pGina.Plugin.WPMC.WpmcPlugin is fast processing all those groups
but LocalMachine isn't
2020-02-26 16:38:23,880 [2484|10|DEBUG] LocalAccount[mahesh]: SyncToLocalUser()
2020-02-26 16:39:07,505 [2484|10|DEBUG] LocalAccount[mahesh]: End SyncToLocalUser()

public void SyncToLocalUser()

@maheshmadhyastha7
Copy link
Author

Can you pls help in finding solution for this ?

@MutonUfoAI
Copy link
Owner

The solution would be, not letting the localmachine plugin doing the sync.
Do it on your own.

Run the localmachine plugin before your own
and your plugin is adding the user to the appropriate groups

@maheshmadhyastha7
Copy link
Author

And how to configure that in plugin?

@maheshmadhyastha7
Copy link
Author

I think its the local machine plugin which has to do the sync.
My plugin is just validating the users against the user groups in server.

@maheshmadhyastha7
Copy link
Author

???

@MutonUfoAI
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants