在安装 python-ldap时总是出现问题,把openldap安装了几遍还是不行,
最终找了一些英文的资料,使其能正确的安装了, 少了一些依赖,汗 竟然不说!!
错误大致:
extra_compile_args: extra_objects: include_dirs: /opt/openldap-RE24/include /usr/include/sasl /usr/include library_dirs: /opt/openldap-RE24/lib /usr/lib libs: ldap_r file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found warning: no files found matching 'Makefile' warning: no files found matching 'Modules/LICENSE' file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found file Lib/ldap.py (for module ldap) not found file Lib/ldap/controls.py (for module ldap.controls) not found file Lib/ldap/extop.py (for module ldap.extop) not found file Lib/ldap/schema.py (for module ldap.schema) not found In file included from Modules/LDAPObject.c:18: /usr/include/sasl/sasl.h:349: 警告:函数声明不是一个原型 Modules/ldapcontrol.c: In function ‘encode_assertion_control’: Modules/ldapcontrol.c:352: 警告:隐式声明函数 ‘ldap_create_assertion_control_value’ Modules/constants.c: In function ‘LDAPinit_constants’: Modules/constants.c:155: 错误:‘LDAP_OPT_DIAGNOSTIC_MESSAGE’ 未声明 (在此函数内第一次使用) Modules/constants.c:155: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其 Modules/constants.c:155: 错误:所在的函数内只报告一次。) Modules/constants.c:365: 错误:‘LDAP_CONTROL_RELAX’ 未声明 (在此函数内第一次使用) error: Setup script exited with error: command 'gcc' failed with exit status 1 [
执行了
yum install opnldap
yum install openldap24-libs
yum install openldap-clients
yum install openldap-devel
yum install openssl-devel
再按装就ok了
参考:http://community.zenoss.org/message/64114
相关推荐
这个是集成到python中的ldap,安装过程很简单,只要一路next就可以
django-python3-ldap, python 3的Django LDAP用户身份验证后端 django-python3-ldapdjango-python3-ldap 为 python 2和 3提供了一个 Django LDAP用户身份验证后端。特性使用LDAP服务器验证用户身份。将LDAP用户与...
资源分类:Python库 所属语言:Python 资源全名:python-ldap-2.4.43.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
ldap协议库,功能十分强大,当前版本python2.7
Python和LDAP域认证,python-LDAP软件,以及python-LDAP资料,还包含有在python中的cookie处理。
python库。 资源全名:python-ldap-2.4.4.tar.gz
python ldap win32 python2.6 exe
离线安装包,亲测可用
安装使用pip install django-python3-ldap 。 将'django_python3_ldap'添加到您的INSTALLED_APPS设置中。 将您的AUTHENTICATION_BACKENDS设置设置为("django_python3_ldap.auth.LDAPBackend",) 配置LDAP服务器的设置...
使用Python读取Ldap用户名。使用Python语言。 设置时只需修改主机名与Ldap相关属性即可。
python-ldap-test 用于测试与LDAP服务器对话的代码的工具。 允许轻松配置和运行嵌入式内存LDAP服务器。 通过Py4J使用UnboundID LDAP SDK。 需要系统路径上的Java运行时才能运行服务器。 安装 随着pip : pip ...
python_ldap-3.2.0-cp27-cp27m-win_amd64
python_ldap-3.4.3-cp38-cp38-win_amd64.whl
python-ldap:适用于Python的LDAP客户端API 什么是python-ldap? python-ldap提供了一个面向对象的API,可以从Python程序访问LDAP目录服务器。 为此,它主要包装OpenLDAP客户端库。 此外,该软件包还包含用于其他...
资源分类:Python库 所属语言:Python 资源全名:python-ldap-2.4.18.win32-py2.6.exe 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
离线安装包,测试可用。使用 pip install [完整包名] 进行安装
资源分类:Python库 所属语言:Python 资源全名:django-python3-ldap-0.9.13.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
odoo包
python-ldap:适用于Python的LDAP客户端API 警告 该存储库现在已过时。 与Py3兼容的python-ldap fork的开发现在位于 旧版自述文件 什么是python-ldap? python-ldap提供了一个面向对象的API,可以从Python程序访问...
spring-security-ldap-2.0.1