ITS#2696:

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.
This commit is contained in:
Kurt Zeilenga 2003-09-09 17:17:21 +00:00
parent 005afc86e4
commit 6b9109466c

View File

@ -166,7 +166,7 @@ main( int argc, char *argv[] )
}
if( oldpwfile ) {
rc = lutil_get_filed_password( prog, &oldpw );
rc = lutil_get_filed_password( oldpwfile, &oldpw );
if( rc ) return EXIT_FAILURE;
}
@ -187,7 +187,7 @@ main( int argc, char *argv[] )
}
if( newpwfile ) {
rc = lutil_get_filed_password( prog, &newpw );
rc = lutil_get_filed_password( newpwfile, &newpw );
if( rc ) return EXIT_FAILURE;
}