Samba

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

Kernel
Activate the following kernel options:

USE flags
If the full samba package is not needed, install the package.

Mount the shared content
Once the client is fully configured, the shares can be accessed by following the next steps.

Create the mount point:

Mount the exported folders:

To automatically mount shares on every boot, edit the fstab to look like this:

Troubleshooting
The following problems may occur when trying to mount new CIFS shares.

Cannot resolve 
More specifically, the actual error:

This can easily be fixed by editing and appending   next to the   entry:

If this does not work, use the NFS server's IP address instead of the O2-Foobar hostname. The nmblookup utility (provided by ) comes in handy when trying to find the IP address of an NFS host:

Shutdown process hangs when trying to unmount CIFS shares
If the system fails to shutdown or reboot properly, users must make sure the CIFS shares are unmounted properly before udev tries to stop.

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

Windows asking for passwords
security = share

External resources

 * Practical Exercises in Successful Samba Deployment
 * Samba Howto Collection
 * Samba GUI