Samba

Samba is a re-implementation of the SMB/CIFS networking protocol, an MS Windows alternative to NFS.

Kernel
You need to activate the following kernel options:

CIFS
If you don't really want the full samba package, you can install only the package:

Mount the shared content
When your client is fully configured, you can access the shares like this:

Automatically mount shares on every boot
If you want to automatically mount your shares on every boot, then edit your fstab to look like this:

Troubleshooting
The following problems may pop up when trying to mount your shiny new CIFS shares:

Cannot resolve 
And more specifically, the actual error looks like this

This can easily be fixed by editing and appending wins next to hosts entry

If this does not work, you can use the NFS server's IP address instead of the O2-Foobar hostname. You can use the nmblookup utility (provided by ) to find out the IP address of an NFS host

Shutdown process hangs when trying to unmount cifs shares
In case your system fails to shutdown or reboot properly, then you need to make sure you umount the cifs shares before udev tries to stop.

The easy way is to create a local.d script:

Win box asking for passwords
security = share

Resources

 * Samba HOWTO on this wiki
 * Samba3 Migrating to Samba4 or AD HOWTO on this wiki
 * Practical Exercises in Successful Samba Deployment
 * Samba Howto Collection
 * Samba GUI