Secunia Research has discovered a vulnerability in Samba, which can be exploited by malicious people to compromise a vulnerable system, the following exploit code can be used to test your system for the mentioned vulnerability.

http://www.securiteam.com/exploits/6B00B1PKKU.html