1. install ladp component
#apt-get install ldap-utils
2. -H ldap server
-b bind
-D domain account
-w doamin password
#ldapsearch -LLL -H ldap://dc01.csp.com: 389 -b "dc=csp,dc=com" -D "cps\tommy" -w "abc123" "(sAMAccountName=tommy.lbs)"
沒有留言:
張貼留言