Skip to content

Inclusion of domain option in connection setup - #1

Open
jhelbig wants to merge 1 commit into
ananace:masterfrom
jhelbig:master
Open

jhelbig wants to merge 1 commit into
ananace:masterfrom
jhelbig:master

Conversation

@jhelbig

@jhelbig jhelbig commented Sep 30, 2026

Copy link
Copy Markdown

Found while attempting to connect to a system with the domain included next to the username. The \ character was breaking NTLM handshake and was either completely stripped out or was escaped too much. Found it was easier to just include the domain in the options on connect and provide it through the ntlm_auth helper.

I also looked at the documentation for ntlm_auth under rubyntlm and the current documentation shows domain is provided after username but before password. In my testing and debugging I found that this was not the case in this instance, and it must be the last option provided to ntlm_auth.

Please let me know if you have any questions.

Thanks!

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.

1 participant