Skip to content
Snippets Groups Projects
Commit 6b910946 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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.
parent 005afc86
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment