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

Ported bash based E2E tests #346

Merged
merged 19 commits into from
Oct 4, 2018
Merged

Conversation

manojampalam
Copy link

No description provided.

bingbing8 and others added 19 commits June 8, 2018 19:35
Merge changes for 7.7.1.1
Includes:
1. [Update code to dynamic load Lsa functions until RS5 SDK includes them](https://microsoft.visualstudio.com/OS/_workitems/edit/17828222)
2. [Add conpty support in openssh](https://microsoft.visualstudio.com/OS/_workitems/edit/17828259)
sync up with latest RS5 source
Fixed following issues:
1) Wierd characters (?25l) are seen, when logged in from ssh client

2) Backspace doesn't work in powershell window
Added support to have ssh-shellhost work as a standby shell (ssh-shellhost -c "cmdline") simply executes cmdline via CreateProcess

Added E2E test cases and fixed unittests broken from prior changes
Following changes are imported from GitHib
- Optimized group membership resolution
- Cleanup SeServiceLogonRight For Restricted User Account
- Fix Command Prompt For Usernames With '$' In Them
Added PTY launch interface that supports both conpty and ssh-shellhost pty.
Implemented PTY control channel in ssh-shellhost that supports Window resize events.
This enables ssh and ssh-keygen functionality around updating known_hosts
…explicit command

Issue is due to missing quotes around cmd.exe commandline
Also includes the following changes:
- Re-enabled conpty that was accidentally disabled during previous pty refactoring changes
- modified ssh-shellhost pty argument to ---pty to remove ambiguity in cases when both -p and -c are present in commandline.
Ex. ssh-shellhost.exe -c "myprogram -p -c argument"
add pinvoke of LsaRemoveAccountRights
…dress VS warnings.

Includes:
- Fix descriptor leaks in win32 fstat implementation: PowerShell/Win32-OpenSSH#1209
- Modified user principal name lookup to default to the implicit form (SamAccountName@DnsDomainName) if no explicit user principal name attribute is found on the account: PowerShell/Win32-OpenSSH#1213
Fix IOT issue while expanding __PROGRAMDATA__
… sshd_config has Match block

https://microsoft.visualstudio.com/OS/_workitems/edit/18512320

1) When LSA auth is configured and sshd_config has Match block then ga_init() is doing fatal().
If customLSAAuth is enabled - return 0 instead of fatal(). This is a temporary fix to allow our internal partners to change their scripts.

2) bash_script_iteration changes - For the SKUs where we have openssh installed in c:\windows\system32\openssh, we don't need to call install-sshd.ps1, uninstall-sshd.ps1. Added a new script parameter to skip this functionality.
…as artifacts.

Update vsts scripts to update unittest test binaries as artifacts.
Skip backslash escaping when expand wildcard
@manojampalam manojampalam merged commit af4e411 into PowerShell:latestw_all Oct 4, 2018
@manojampalam manojampalam deleted the cwb branch October 4, 2018 21:16
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

Successfully merging this pull request may close these issues.

3 participants