I need to have a script to use for adding users to my samba PDC, which is integrated with ldap.
this script i have added is not working becouse it doesnt add a password, i need a command that adds a password too, so i can add several users from a text file.
Or else i cant get this users to log in to the domain, please help!
for line in `cat $1`;do
smbldap-useradd -m $username