Description of problem: The command-line utility ns-newpwpolicy.pl (template-ns-newpwpolicy.pl.in) hasn't been modified to adjust to the new DN format. It escapes only ',' in the nested DN, in which '=' also needs to be escaped.
Created attachment 486852 [details] git patch file (master) Description: template-ns-newpwpolicy.pl.in hasn't been modified to adjust to the new DN format. It escapes only ',' in the nested DN, in which '=' also needs to be escaped. This patch fixed it.
Reviewed by Rich (Thank you!!!) Pushed to master. $ git merge 689866 Updating c772157..09bc822 Fast-forward .../src/scripts/template-ns-newpwpolicy.pl.in | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) $ git push Counting objects: 13, done. Delta compression using up to 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (7/7), 845 bytes, done. Total 7 (delta 5), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git c772157..09bc822 master -> master Cherry-picked commit 09bc8226f17e58afd4fd1f4c3c73214ecc33b85e and pushed to 389-ds-base-1.2.8 branch: $ git cherry-pick 09bc8226f17e58afd4fd1f4c3c73214ecc33b85e Finished one cherry-pick. [ds128-local 27624b8] Bug 689866 - ns-newpwpolicy.pl needs to use the new DN format 1 files changed, 11 insertions(+), 9 deletions(-) $ git push origin ds128-local:389-ds-base-1.2.8 Counting objects: 13, done. Delta compression using up to 4 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (7/7), 844 bytes, done. Total 7 (delta 5), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git df7c57c..27624b8 ds128-local -> 389-ds-base-1.2.8
Tested the bug by executing the pwpolicy test case passes 100%, bug is verified.