In FIPS mode importing md5 Python module will not cause any error but calling md5.md5()
function will throw ValueError since md5 is not available.
Make sure md5.md5() actually works and if not, fall back to use hash replacement that
we already have in wafsamba.
The patch needs to go to master as well.
Created attachment 8303 [details]
Patch to see if md5 actually works in Python
Created attachment 8307 [details]
Cherry picked patch from master.
Created attachment 8312 [details]
Patch cherry picked from master branch.
Karolin, please add to v4-0-test! Thanks.
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test.
Closing out bug report.