Skip to content

totemofwolf/ldapapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ldapapi

python ldap管理http api

#配置说明

在ldapapi/settings.py中配置如下内容

LDAP_SERVER = 'ldap://ldap.example.com'
LDAP_BIND = 'cn=Manager,dc=example,dc=com'
LDAP_PASS = 'pass'
LDAP_BASE = 'dc=example,dc=com'

在ldapapi/ldapusermanage/setting.py中设置user和group的前缀dn

groupdn = 'ou=Group,dc=example,dc=com'
userdn = 'ou=People,dc=example,dc=com'

调用详情

目前只支持添加,删除用户,修改用户密码

About

python ldap管理http api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.2%
  • Shell 2.8%