Hi, i 'm trying to change the password of a user to {md5} and i'm using the following script:
MUID=alien PASS=123456 hash= slappasswd -v -h {md5} -s $password cat > modify.ldif <<EOF dn: uid=$MUID,ou=accounts,dc=koutcons,dc=gr changetype: modify modify: userPassword userPassword : $hash EOF ldapmodify -x -v -w secret -D "cn=Manager,dc=koutcons,dc=gr" -f modify.ldif as result i'm getting the following: ldap_initialize (<default>) replace modify: userPassword replce userPassword: modifying entry "uid alien,ou=accounts,dc=koutcons,dc=gr" ldap_modify: Undefined info: modify: attribute type undefined ldif_record() = 17 anyone can help please? Regards John Lazos