PowerShell / PowerShell/Win32-OpenSSH
Improvement, Logs for LDAP Integration
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps
Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH
Please answer the following
"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
8.1.0.0
Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
Windows Server 2016 Datacenter
Client OperatingSystem
Windows 10 Pro
What is failing
LDAP integration
Expected output
Actual output
4620 2020-07-09 17:12:26.841 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
4620 2020-07-09 17:12:26.841 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
812 2020-07-09 17:12:40.943 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
812 2020-07-09 17:12:40.943 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
696 2020-07-09 17:12:50.517 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
696 2020-07-09 17:12:50.517 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
4080 2020-07-09 17:13:00.031 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
4080 2020-07-09 17:13:00.031 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
9000 2020-07-09 17:29:27.423 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
9000 2020-07-09 17:29:27.423 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
7856 2020-07-09 17:29:32.973 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
7856 2020-07-09 17:29:32.973 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
5528 2020-07-09 18:00:54.833 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
5528 2020-07-09 18:00:54.833 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
3108 2020-07-09 18:11:01.708 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
3108 2020-07-09 18:11:01.708 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
3700 2020-07-09 18:11:10.985 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
3700 2020-07-09 18:11:10.985 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
3700 2020-07-09 18:12:31.334 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_teste
3700 2020-07-09 18:12:31.334 fatal: ga_init, unable to resolve user contoso\sftp_user_teste
7840 2020-07-09 18:13:00.976 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_teste
7840 2020-07-09 18:13:00.976 fatal: ga_init, unable to resolve user contoso\sftp_user_teste
7444 2020-07-09 18:13:58.550 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_teste
7444 2020-07-09 18:13:58.566 fatal: ga_init, unable to resolve user contoso\sftp_user_teste
2152 2020-07-09 18:14:20.123 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_teste
2152 2020-07-09 18:14:20.123 fatal: ga_init, unable to resolve user contoso\sftp_user_teste
7844 2020-07-09 18:14:43.328 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
7844 2020-07-09 18:14:43.328 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
5004 2020-07-10 08:19:50.989 error: kex_exchange_identification: Connection closed by remote host
7684 2020-07-10 08:54:11.327 error: get_user_token - unable to generate token on 2nd attempt for user contoso\sftp_user_tst
7684 2020-07-10 08:54:11.327 fatal: ga_init, unable to resolve user contoso\sftp_user_tst
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Troubleshooting Steps and TTY/PTY support wiki pages, then review the reported get_user_token and ga_init log entries for the LDAP failure. The issue provides no source files or tests and no expected output, so completion criteria must be clarified before implementation can begin.
Written by the indexing model from the issue text.
Assessment
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100