This should work for you
smbmount //windowspcname/share /linuxbox/directory -o rw,username=un,password=pw
make sure your /etc/hosts
file has your windows host name and IP address in it.
your /etc/hosts file should look something like this
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
# By the way, Arnt Gulbrandsen <firstname.lastname@example.org> says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
# For loopbacking.
# End of hosts.