Here, check out this link, it should help... I just recently wrote a program that would brute force User passwords using this module, although it proved a bit ineffecient due to a timeout built into the API. Here ya go!
Thanks for the reply. I believe this script would also fail if I added the for loop around it... I would like to scan a whole subnet at a time. Any ideas?
Hmmm... no, I don't think its a problem. I haven't added that to my program that I've been working on (a netbios password brute forcer... if I didn't already mention), but I think it should be simple to add. The for loop should create no problem. If you are getting an error, I would have to take a better look at your code. I just quickly responded to this last nite cause I knew the file would be helpful and I was in a hurry.
Another thing to consider would be to thread your program to scan all of the machines independently.