.nsmbrc is the configuration file for the Samba connections. The personal configuration file is in your home directory ~/.nsmbrc (don't forget the dot), and the global configuration file is at /usr/local/etc/nsmb.conf. For example, you can have this in your personal .nsmbrc file:
[default]Now when you connect to a Windows server via Finder's Connect to Server command, the Workgroup field in the login panel is automatically filled in. Settings in .nsmbrc can also be used by smbutil.
workgroup=XSTUDIO
smbutil is an interface to SMB requester. It has many functions for Samba file systems and logging in/out to the Windows server. However, the ability to browse Windows resource is the most useful one.
% sudo smbutil view //Account_Name@Server_NameYou'll be asked for your local password, then your windows password. For servers in different workgroup, use this:
% sudo smbutil view -W Workgroup_Name //Account_Name@Server_NameI still can't figure out why smbutil only allows administrators to view resources. If you execute smbutil without sudo, you'll simply get an error. Please refer to the man pages of smbutil and mount_smbfs for more information.
Now I just want a GUI for smbutil!

