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

NTLM auth locking service user #234

Closed
rokx opened this issue Dec 2, 2024 · 2 comments
Closed

NTLM auth locking service user #234

rokx opened this issue Dec 2, 2024 · 2 comments

Comments

@rokx
Copy link
Contributor

rokx commented Dec 2, 2024

Hi,
I just had issues for the past months because px service was locking the associated user. The service is running on a windows server and the credentials are stored in Credentials Manager.

The issue was that everytime I tried accessing a blocked url from the main proxy, the badPwdCount in AD would increase by 1. After 3 tries the user was always locked.

I suspected there has to be some issues with the implementation of cntlm that is probably trying multiple times with different NTLM versions or something.

Based on few threads on internet I took a hit and updated the included cntlm library from 8.6.0 to the latest 8.11 from https://curl.se/windows/.
Path where the ddl was updated: px/Lib/site-packages/px/libcurl/libcurl-x64.dll

Suddenly the issue dissappeared. The user does not get locked anymore.

I encountered the issues because of Jenkins update site mirrors that randomly proxy you to 10 different sites.

Please consider updating the included cntlm library.

Love this project! Thank you for all.

@genotrance
Copy link
Owner

Thanks for the report, I'm neck deep trying to migrate px to leverage pymcurl which is currently using libcurl v8.9.1 - can you please check if you still see the issue with that version of libcurl? Upgrading to v8.11 will be another big delay.

@genotrance
Copy link
Owner

I have updated pymcurl to 8.11.0 so this should hopefully fix your use case once released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants