adv-samba is a PHP class to batch audit SAMBA resources on remote hosts or large LANs. It's a very handy tool during network audits. For example, imagine a LAN with 500 workstations. You want to find any illegal MP3s on company machines. With this tool, you recursively dump the share directory structure. It works with Active Directory authentication too.