1、验证管理员密码

ldapsearch -x -D 'cn=admin,dc=xxx,dc=com' -W -b "dc=xxx,dc=com"
原文地址:https://www.cnblogs.com/yjt1993/p/14241436.html