SAMBA sharepoints and standard Windows "shared directories" work in almost exactly the same way as AFP shares. The only difference is the URL that you use. If you want to dynamically mount a Windows (or SAMBA) sharepoint, follow the directions at Mike's site for a regular AFP Dynamic mount and replace the URL value with:
url==smb://username:password@servername/sharepointWhere servername is either the IP address, hostname, or fully-qualified hostname (foo.example.com) of the machine that you would like to connect to, and where sharepoint is the shared directory that you would like to connect to.
In some cases, depending on the configuration of your network, this may not work. If that happens to you, try:
url==smb://Username:Password@Workgroup/servername/sharepoint
Note: I tested this on MacOS 10.2.8 and can make no promises or guarantees that it will work on any other version of OS X, but it worked for me. Because I have no reason to do so, I have not actually tested this with a static mount, only dynamic. The first URL I listed worked perfectly for me. However, in researching printing to SAMBA-shared printers, I saw many reports of a whole variety of different URLs working for some setups, and not working for others. I suggest that if the two URLs I provided don't seem to work for you, try variations on the theme, or search here for the tips related to printing to samba shared printers and SMB shares for ideas.

