ldappasswd -T and -t options don't work, they try to open the file ldappasswd
instead of the argument passed.
Applied patch provided by Nicolas Schodet.
}
if( oldpwfile ) {
- rc = lutil_get_filed_password( prog, &oldpw );
+ rc = lutil_get_filed_password( oldpwfile, &oldpw );
if( rc ) return EXIT_FAILURE;
}
}
if( newpwfile ) {
- rc = lutil_get_filed_password( prog, &newpw );
+ rc = lutil_get_filed_password( newpwfile, &newpw );
if( rc ) return EXIT_FAILURE;
}