Umh, I like I can enter domain name, ldap server address, basedn, username and password by hand so, I modified some source code like here:
Quote:
echo: "Domain name:"
read DOMAIN_NAME
echo "Address of AD server:"
read LDAP_SERVER
echo " Enter baseDN:"
read BASEDN echo "
username:"
read USERNAME
echo " password:"
read PASSWORD
|