-
Notifications
You must be signed in to change notification settings - Fork 265
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
Need clarification on "ldap3" vs. "python3-ldap" #1060
Comments
And here is the file listing from "rpm -ql python3-ldap": rpm -ql python3-ldap |
python3-ldap is another package. You must install ldap3 via pip or install the python3-ldap3 package if available on your system repository.Il giorno 24 set 2022, alle ore 14:43, ohaya ***@***.***> ha scritto:
And here is the file listing from "rpm -ql python3-ldap":
rpm -ql python3-ldap /usr/lib/.build-id /usr/lib/.build-id/6c /usr/lib/.build-id/6c/72e2baaf4be95acf7212172003f5d96124e7d4 /usr/lib64/python3.6/site-packages/__pycache__/ldapurl.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/__pycache__/ldapurl.cpython-36.pyc /usr/lib64/python3.6/site-packages/__pycache__/ldif.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/__pycache__/ldif.cpython-36.pyc /usr/lib64/python3.6/site-packages/_ldap.cpython-36m-x86_64-linux-gnu.so /usr/lib64/python3.6/site-packages/ldap /usr/lib64/python3.6/site-packages/ldap/__init__.py /usr/lib64/python3.6/site-packages/ldap/__pycache__ /usr/lib64/python3.6/site-packages/ldap/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/async.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/async.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/asyncsearch.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/asyncsearch.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/cidict.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/cidict.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/compat.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/compat.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/constants.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/constants.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/dn.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/dn.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/filter.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/filter.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/functions.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/functions.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/ldapobject.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/ldapobject.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/logger.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/logger.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/modlist.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/modlist.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/pkginfo.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/pkginfo.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/resiter.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/resiter.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/sasl.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/sasl.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/syncrepl.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/__pycache__/syncrepl.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/async.py /usr/lib64/python3.6/site-packages/ldap/asyncsearch.py /usr/lib64/python3.6/site-packages/ldap/cidict.py /usr/lib64/python3.6/site-packages/ldap/compat.py /usr/lib64/python3.6/site-packages/ldap/constants.py /usr/lib64/python3.6/site-packages/ldap/controls /usr/lib64/python3.6/site-packages/ldap/controls/__init__.py /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__ /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/deref.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/deref.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/libldap.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/libldap.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/openldap.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/openldap.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/pagedresults.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/pagedresults.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/ppolicy.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/ppolicy.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/psearch.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/psearch.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/pwdpolicy.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/pwdpolicy.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/readentry.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/readentry.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/sessiontrack.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/sessiontrack.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/simple.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/simple.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/sss.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/sss.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/vlv.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/controls/__pycache__/vlv.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/controls/deref.py /usr/lib64/python3.6/site-packages/ldap/controls/libldap.py /usr/lib64/python3.6/site-packages/ldap/controls/openldap.py /usr/lib64/python3.6/site-packages/ldap/controls/pagedresults.py /usr/lib64/python3.6/site-packages/ldap/controls/ppolicy.py /usr/lib64/python3.6/site-packages/ldap/controls/psearch.py /usr/lib64/python3.6/site-packages/ldap/controls/pwdpolicy.py /usr/lib64/python3.6/site-packages/ldap/controls/readentry.py /usr/lib64/python3.6/site-packages/ldap/controls/sessiontrack.py /usr/lib64/python3.6/site-packages/ldap/controls/simple.py /usr/lib64/python3.6/site-packages/ldap/controls/sss.py /usr/lib64/python3.6/site-packages/ldap/controls/vlv.py /usr/lib64/python3.6/site-packages/ldap/dn.py /usr/lib64/python3.6/site-packages/ldap/extop /usr/lib64/python3.6/site-packages/ldap/extop/__init__.py /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__ /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__/dds.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__/dds.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__/passwd.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/extop/__pycache__/passwd.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/extop/dds.py /usr/lib64/python3.6/site-packages/ldap/extop/passwd.py /usr/lib64/python3.6/site-packages/ldap/filter.py /usr/lib64/python3.6/site-packages/ldap/functions.py /usr/lib64/python3.6/site-packages/ldap/ldapobject.py /usr/lib64/python3.6/site-packages/ldap/logger.py /usr/lib64/python3.6/site-packages/ldap/modlist.py /usr/lib64/python3.6/site-packages/ldap/pkginfo.py /usr/lib64/python3.6/site-packages/ldap/resiter.py /usr/lib64/python3.6/site-packages/ldap/sasl.py /usr/lib64/python3.6/site-packages/ldap/schema /usr/lib64/python3.6/site-packages/ldap/schema/__init__.py /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__ /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/models.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/models.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/subentry.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/subentry.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/tokenizer.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/ldap/schema/__pycache__/tokenizer.cpython-36.pyc /usr/lib64/python3.6/site-packages/ldap/schema/models.py /usr/lib64/python3.6/site-packages/ldap/schema/subentry.py /usr/lib64/python3.6/site-packages/ldap/schema/tokenizer.py /usr/lib64/python3.6/site-packages/ldap/syncrepl.py /usr/lib64/python3.6/site-packages/ldapurl.py /usr/lib64/python3.6/site-packages/ldif.py /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info/PKG-INFO /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info/SOURCES.txt /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info/dependency_links.txt /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info/not-zip-safe /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info/requires.txt /usr/lib64/python3.6/site-packages/python_ldap-3.3.1-py3.6.egg-info/top_level.txt /usr/lib64/python3.6/site-packages/slapdtest /usr/lib64/python3.6/site-packages/slapdtest/__init__.py /usr/lib64/python3.6/site-packages/slapdtest/__pycache__ /usr/lib64/python3.6/site-packages/slapdtest/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/slapdtest/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/slapdtest/__pycache__/_slapdtest.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/slapdtest/__pycache__/_slapdtest.cpython-36.pyc /usr/lib64/python3.6/site-packages/slapdtest/_slapdtest.py /usr/lib64/python3.6/site-packages/slapdtest/certs /usr/lib64/python3.6/site-packages/slapdtest/certs/README /usr/lib64/python3.6/site-packages/slapdtest/certs/ca.conf /usr/lib64/python3.6/site-packages/slapdtest/certs/ca.pem /usr/lib64/python3.6/site-packages/slapdtest/certs/client.conf /usr/lib64/python3.6/site-packages/slapdtest/certs/client.key /usr/lib64/python3.6/site-packages/slapdtest/certs/client.pem /usr/lib64/python3.6/site-packages/slapdtest/certs/gencerts.sh /usr/lib64/python3.6/site-packages/slapdtest/certs/gennssdb.sh /usr/lib64/python3.6/site-packages/slapdtest/certs/server.conf /usr/lib64/python3.6/site-packages/slapdtest/certs/server.key /usr/lib64/python3.6/site-packages/slapdtest/certs/server.pem /usr/share/doc/python3-ldap /usr/share/doc/python3-ldap/CHANGES /usr/share/doc/python3-ldap/Demo /usr/share/doc/python3-ldap/Demo/Lib /usr/share/doc/python3-ldap/Demo/Lib/ldap /usr/share/doc/python3-ldap/Demo/Lib/ldap/async /usr/share/doc/python3-ldap/Demo/Lib/ldap/async/deltree.py /usr/share/doc/python3-ldap/Demo/Lib/ldap/async/ldifwriter.py /usr/share/doc/python3-ldap/Demo/Lib/ldap/async/sizelimit.py /usr/share/doc/python3-ldap/Demo/Lib/ldapurl /usr/share/doc/python3-ldap/Demo/Lib/ldapurl/urlsearch.py /usr/share/doc/python3-ldap/Demo/Lib/ldif /usr/share/doc/python3-ldap/Demo/Lib/ldif/ldifcopy.py /usr/share/doc/python3-ldap/Demo/initialize.py /usr/share/doc/python3-ldap/Demo/ldapcontrols.py /usr/share/doc/python3-ldap/Demo/ldapurl_search.py /usr/share/doc/python3-ldap/Demo/matchedvalues.py /usr/share/doc/python3-ldap/Demo/ms_ad_bind.py /usr/share/doc/python3-ldap/Demo/options.py /usr/share/doc/python3-ldap/Demo/page_control.py /usr/share/doc/python3-ldap/Demo/paged_search_ext_s.py /usr/share/doc/python3-ldap/Demo/passwd_ext_op.py /usr/share/doc/python3-ldap/Demo/pickle_ldapobject.py /usr/share/doc/python3-ldap/Demo/pyasn1 /usr/share/doc/python3-ldap/Demo/pyasn1/dds.py /usr/share/doc/python3-ldap/Demo/pyasn1/derefcontrol.py /usr/share/doc/python3-ldap/Demo/pyasn1/noopsearch.py /usr/share/doc/python3-ldap/Demo/pyasn1/ppolicy.py /usr/share/doc/python3-ldap/Demo/pyasn1/psearch.py /usr/share/doc/python3-ldap/Demo/pyasn1/readentrycontrol.py /usr/share/doc/python3-ldap/Demo/pyasn1/sessiontrack.py /usr/share/doc/python3-ldap/Demo/pyasn1/sss_highest_number.py /usr/share/doc/python3-ldap/Demo/pyasn1/syncrepl.py /usr/share/doc/python3-ldap/Demo/reconnect.py /usr/share/doc/python3-ldap/Demo/rename.py /usr/share/doc/python3-ldap/Demo/resiter.py /usr/share/doc/python3-ldap/Demo/sasl_bind.py /usr/share/doc/python3-ldap/Demo/schema.py /usr/share/doc/python3-ldap/Demo/schema_tree.py /usr/share/doc/python3-ldap/Demo/simple.py /usr/share/doc/python3-ldap/Demo/simplebrowse.py /usr/share/doc/python3-ldap/README /usr/share/doc/python3-ldap/TODO /usr/share/licenses/python3-ldap /usr/share/licenses/python3-ldap/LICENCE
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi, Ok, thanks for the clarification! |
Closing this issue |
Hi,
I posted about this question on Stackoverflow, "Confusion about "python3-ldap" and "ldap3"", but haven't received much response.
At this point, it SEEMS like the answer to my question is that what gets installed by installing the "python3-ldap" via yum or RPM is NOT the same as downloading the source for "ldap3" from here, i.e., when the page says:
"python3-ldap HAS BEEN RENAMED ldap3 to avoid confusion with the former python-ldap project."
the mentioned "python3-ldap" is NOT referring to the RPM that is available for "python3-ldap", i.e., it is just a coincidence that the RPM and this project have the same "python3-ldap" name.
Can someone here confirm that that is the case?
Thanks,
Jim
P.S. Here is info from the RPM (rpm -qi python3-ldap):
rpm -qi python3-ldap
Name : python3-ldap
Version : 3.3.1
Release : 2.el8
Architecture: x86_64
Install Date: Mon 12 Sep 2022 12:02:00 PM EDT
Group : System Environment/Libraries
Size : 839476
License : Python
Signature : RSA/SHA256, Thu 29 Jul 2021 10:24:58 AM EDT, Key ID 199e2f91fd431d51
Source RPM : python-ldap-3.3.1-2.el8.src.rpm
Build Date : Mon 28 Jun 2021 07:37:54 AM EDT
Build Host : x86-vm-07.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager : Red Hat, Inc. http://bugzilla.redhat.com/bugzilla
Vendor : Red Hat, Inc.
URL : http://python-ldap.org/
Summary : An object-oriented API to access LDAP directory servers
Description :
python-ldap provides an object-oriented API for working with LDAP within
Python programs. It allows access to LDAP directory servers by wrapping the
OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks
(including processing LDIF, LDAPURLs, LDAPv3 schema, etc.).
The text was updated successfully, but these errors were encountered: