ldap-password
介绍
自助修改 ldap 用户密码
环境
安装教程
Docker 部署
docker run --restart=always -d -p 8000:8000 --env LDAP_HOST="192.168.1.250" --env LDAP_ADMIN_USER="root.ops.net" --env LDAP_PASSWORD="PASSWD" --name ldap-password lghost/ldap-password:latest
# Use the Manager account
调试打印输出
docker -it -p 8000:8000 -rm ...省略
Django version 3.0.5, using settings 'website.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C
[10/Apr/2020 00:09:49] "GET / HTTP/1.1" 200 4824
LDAP connect success!
[10/Apr/2020 00:09:58] "POST / HTTP/1.1" 200 18
LDAP connect success!
user: test modify passwd success
本地部署
git clone https://gitee.com/attacker/ldap-password.git
pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com requirements.txt
python manage.py runserver 0.0.0.0:8000
# 启动服务
使用说明
来源:oschina
链接:https://my.oschina.net/attacker/blog/3235036