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

Support NTLM authentication #33

Closed
netwolfuk opened this issue May 18, 2016 · 7 comments
Closed

Support NTLM authentication #33

netwolfuk opened this issue May 18, 2016 · 7 comments
Labels
available in alpha or beta release item is released in a "pre-release" version ready for testing. enhancement waiting for release
Milestone

Comments

@netwolfuk
Copy link
Member

As per comments in issue #19

@netwolfuk
Copy link
Member Author

netwolfuk commented May 18, 2016

You can try this artifact here.

You're welcome to give it a try. I don't have any Windows machines at home (fortunately), so can't test it (unfortunately).

You will need to configure the following:

      <auth enabled="true" type="ntlm" preemptive="true">
        <auth-parameters>
          <param name="password" value="password" />
          <param name="username" value="name" />
          <param name="domain" value="domain" />
          <param name="originator" value="teamcity.internal.company.net" />
        </auth-parameters>
      </auth>

The new magic is here:

@alexvaccaro
Copy link

Cool, I'll give it a try later this week.

@netwolfuk
Copy link
Member Author

Hmm, looks like there will be another release soon ;-) This one is broke. I'll post again here when it's working.

@netwolfuk
Copy link
Member Author

OK, let's try again :-) Download from here

@alexvaccaro
Copy link

Unfortunately I couldn't get it to work, I see the service call getting 401 responses.
I'll try enabling debug logging in TC to see if that sheds any light, but it's not urgent for me so it might take me some time before I try this again.

Many thanks anyway for getting this in :)

@netwolfuk
Copy link
Member Author

Sorry about that. If I can figure out a way to do some testing I'll try again, but please do let me know if you can share any insights.

@netwolfuk netwolfuk added this to the 1.2 milestone Jun 3, 2016
@netwolfuk
Copy link
Member Author

netwolfuk commented May 30, 2020

I just pushed support for NTLM. Since we last talked about this, Apache Components HttpClient has added support directly to the client. So I've updated to the latest version and added the required code. Much easier than last time I looked at it.

Can someone reply here if they want to test it? I've not been able to, since I don't have access to any windows machines.

@netwolfuk netwolfuk added the available in alpha or beta release item is released in a "pre-release" version ready for testing. label Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
available in alpha or beta release item is released in a "pre-release" version ready for testing. enhancement waiting for release
Projects
None yet
Development

No branches or pull requests

2 participants