code cleanup and adapted __samr_users() to Impacket trunk