Skip to content

Make users with backslash working for salt-ssh (bsc#1254629)#748

Merged
vzhestkov merged 2 commits intoopenSUSE/release/3006.0from
openSUSE/fix/3006.0/allow-ssh-users-with-backslash
Mar 13, 2026
Merged

Make users with backslash working for salt-ssh (bsc#1254629)#748
vzhestkov merged 2 commits intoopenSUSE/release/3006.0from
openSUSE/fix/3006.0/allow-ssh-users-with-backslash

Conversation

@vzhestkov
Copy link
Copy Markdown
Contributor

@vzhestkov vzhestkov commented Feb 10, 2026

What does this PR do?

In some cases it's required to use credentials for the users from AD in DOMAIN\USER format, and it could cause issues with running salt-ssh on the remote system.

What issues does this PR fix or reference?

Tracks: https://github.com/SUSE/spacewalk/issues/29164
Upstream PR: saltstack/salt#68790

Previous Behavior

salt-ssh was failing with imporper calculation of target directory or either improper passing the username to ssh/scp commands used internally requiring extra quoting for the username (with extra quoting it was working fine to connect to remote system but was failing with directory path calculation)

New Behavior

salt-ssh is able to work properly with DOMAIN\USER notation of the username.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

Please review Salt's Contributing Guide for best practices.

See GitHub's page on GPG signing for more information about signing commits with GPG.

@vzhestkov vzhestkov merged commit d1103f2 into openSUSE/release/3006.0 Mar 13, 2026
8 checks passed
@vzhestkov vzhestkov deleted the openSUSE/fix/3006.0/allow-ssh-users-with-backslash branch March 13, 2026 13:37
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.

2 participants