Skip to content

NTLMv2 support for DOMAIN\UserName and username@domain.com username variations#4

Open
gautamsi wants to merge 8 commits into
clncln1:masterfrom
gautamsi:master
Open

NTLMv2 support for DOMAIN\UserName and username@domain.com username variations#4
gautamsi wants to merge 8 commits into
clncln1:masterfrom
gautamsi:master

Conversation

@gautamsi

Copy link
Copy Markdown

I wanted to use this package for NTLMv2 support in my repo ews-javascript-api-auth. found out that domain\username format does not work in multiple domain forest. or even multiple forest scenario. upn format does not work either.

figured that you have it hardcoded to domain/target returned from type2 message from server. With few tweaks it does work in both scenario. I have tested in cross forest scenario as well, both domain\username as well as username@domain.com works.

@s-KaiNet

Copy link
Copy Markdown

@gautamsi do you have an example, which value should I provide as target for createType3Message method in case, if I want to use upn format (user@domain)?

@s-KaiNet

Copy link
Copy Markdown

Found it :) just empty string

@jhorbulyk jhorbulyk mentioned this pull request Sep 21, 2018
@jhorbulyk jhorbulyk mentioned this pull request Sep 21, 2018
Fix bugs
no longer crashes the process when url is invalid.
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