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

Requirements too strict for ldap3 dependency #19

Closed
maaaaz opened this issue Mar 17, 2019 · 7 comments
Closed

Requirements too strict for ldap3 dependency #19

maaaaz opened this issue Mar 17, 2019 · 7 comments

Comments

@maaaaz
Copy link

maaaaz commented Mar 17, 2019

Hello @dirkjanm,

While installing the latest current impacket module, which relies on ldapdomaindump, I'm getting that error message:

$ pip install impacket
...
ldapdomaindump 0.9.1 has requirement ldap3==2.5.1, but you'll have ldap3 2.5.2 which is incompatible.
...

I think that you can safely change your requirements from

install_requires=['dnspython', 'ldap3==2.5.1', 'future'],

to

      install_requires=['dnspython', 'ldap3>=2.5.1', 'future'],

Best regards.

@dirkjanm
Copy link
Owner

The latest impacket from git also has ldap3 forced on 2.5.1, reason for this is that 2.5.2 is currently broken, so this behavior is intentional. Once a new version of ldap3 is out this will be removed.

@maaaaz
Copy link
Author

maaaaz commented Mar 17, 2019

Ok, I didn't know this :)

@cannatag
Copy link

cannatag commented Apr 1, 2019

Hi, I’m the author of the ldap3 library. I want just to let you know that version 2.6 of ldap3 is available. Let me know if you still have problems with it.

Bye,
Giovanni

@dirkjanm
Copy link
Owner

dirkjanm commented Apr 1, 2019

Hi Giovanni, I did notice it but haven't had the time yet to run tests, thanks for the heads up, this is on my to-do.

@dirkjanm dirkjanm reopened this Apr 1, 2019
@dirkjanm
Copy link
Owner

dirkjanm commented Apr 6, 2019

Unfortunately 2.6 still breaks for ldapdomaindump (but for a different reason which should occur less often for other tools), will have to stick with 2.5.1 until cannatag/ldap3#675 is merged and released.
Will continue testing.

@exploide
Copy link

exploide commented Jan 4, 2020

It appears the pull request has been merged and meanwhile ldap3 v2.6.1 has been released, which contains the fix.

Would be great to see the requirements relaxed. It currently causes package manager conflicts in distributions like Fedora.

@dirkjanm
Copy link
Owner

dirkjanm commented Jan 8, 2020

Thanks for the reminder. I just pushed ldapdomaindump 0.6.2 to pypi which has a looser requirement.

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

No branches or pull requests

4 participants