validate user passwd on creation and samba config