mit_samba: Add functions to generate random password and salt.