Fix samba password change

Password changing was not possible because var 'p' was used in two ways.