Samba
About
Samba is open-source server software which allows "Network Neighborhood"-style communication between Microsoft Windows and other operating systems such as Linux. It is named after the SMB protocol, which is what Windows uses for "Network Neighborhood" communication.
Pages
- browser: debugging master/domain browser issues
- commands for interacting with Samba
- how-to
- printing: using Samba to serve shared printers
- files: what the files mean and where they are kept
Notes
as explained by user adaptr on #samba on freenode:
Each machine that participates in a netbios/smb network (or workgroup) is both client and server - it takes services and advertises them. Any machine at least advertises the MACHINE service – just its own netbios machine name with a specific SMB service type – so even if it's only trying to browse or auth to an SMB server, that client offers its own service data to what is known as the master browser.
user kukks adds:
To get more debug info from the cifs kernel module, use the following as root:
echo 7 > /proc/fs/cifs/cifsFYI
This will instruct cifs vfs to write more debug stuff to the kernel log.
can't browse into folders
The following lines in smb.conf fix a common problem where you can see folders underneath a share but can't browse into them (this may only be a problem if they are symbolic links):
# 2010-04-20 makes wide links work again # allows samba to show/include symbolic-linked folders and files: follow symlinks = yes # allows links to targets not within the shared folder wide links = yes # disable option incompatible with wide links unix extensions = no
How To
Links
Official
Reference
- Wikipedia:Samba software
- Wikipedia:Server Message Block: SMB protocol
Articles
- 1999-11 Chapter 3: Configuring Windows Clients from the book Using Samba by Robert Eckstein, David Collier-Brown, Peter Kelly (this shows how to set up Win9x machines for non-anonymous connection to Samba)
- Managing Samba: Choose your weapon – Windows network ID basics: seems to cover some useful concepts