Hello, I made a tcl extension that can allow tcl scripts to do nmb lookups and smb commands. If anyone is interested, it can be found at http://zork.net/~phil/projects.html, and it is a patch to samba-1.9.18p10. There are also a couple of example tcl scripts in there. -phil