added smbpasswd functionality