-
Notifications
You must be signed in to change notification settings - Fork 780
v7.9.0.0p1-Beta breaks with multiple groups #1354
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
Comments
Seems to be reproducible. Looking into it. |
Pull request is in: PowerShell/openssh-portable#380 @Enxer: Can you try the binaries posted here: https://github.com/NoMoreFood/openssh-portable/releases/tag/v7.9-merge-2 |
Hi Bryan, I get the same results. My account: (Get-ADUser username –Properties MemberOf).MemberOf -match 'helpdesk' SSHD_Config: I am working with the 64 bit binaries if that matters. |
Just to make sure, you replaced the server (sshd.exe) binaries with these and restarted the service? Just weird that I was able to reproduce a similar behavior, find an exact cause, and it's different from the one you reported. (Also can you delete your comment in the PR --- just don't want to somebody to respond to it over there) |
The latest log makes it look like user (e.g., "nbentiznger") does not exist on the system. Can you confirm it does? |
ah! - that's what I get for fat fingering my account name. I just re-tested and I got in. It is probably too late for me to be testing. |
@Enxer Thanks for the update. As I mentioned, can you please remove your comment from the pull request so we don't confused the efficacy of that change. I'd say let's keep the issue open until this is officially released. Thanks! |
- Addressed group mapping issue caused by the username being used after being freed. PowerShell/Win32-OpenSSH#1354
"OpenSSH for Windows" version 7.9.0.0
Server OperatingSystem Windows 10 Enterprise
Client OperatingSystem Windows 10 Enterprise
What is failing: v7.9.0.0p1-Beta broke multiple Match conditions
Expected output: Authentication
Actual output: Repeated access denied
SSHD_config with multiple group matches:
sshd_config.txt
Output of trying to connect:
debug3.txt
The user in question is apart of the DOMAIN\Helpdesk-local-admins group
If I downgrade the sshd binaries to v7.7.2.0p1-Beta it works without issue.
The text was updated successfully, but these errors were encountered: