def __init__(self):
if not ldap:
raise ImportError(_('ldap not installed'))
self.lobj = ldap.initialize(CONF.ldap_dns_url)
self.lobj.simple_bind_s(CONF.ldap_dns_user,
CONF.ldap_dns_password)
ldapdns.py 文件源码
python
阅读 29
收藏 0
点赞 0
评论 0
评论列表
文章目录