Introduction


Introduction

This chapter starts by providing a list of Samba tools followed by some basic information. The JumpStart section discusses how to set up a Samba server using system-config-samba, a minimal GUI. The next section covers how to use swat, a Web-based advanced configuration tool, to set up a Samba server. The final server section discusses how to set up a Samba server by hand, using a text editor to manually edit the files that control Samba. The next two sections, "" (page ) and "" (page ), explain how to work with Linux and Windows files and printers. The final section of the chapter, "" (page ), offers tips on what to do when you have a problem setting up or using Samba.

lists the utilities and daemons that make up the Samba suite of programs.

Table 23-1. Samba utilities and daemons

Utility or daemon

Function

net

This utility has the same syntax as the DOS net command and, over time, will eventually replace other Samba utilities such as smbpasswd.

nmbd

The NetBIOS (page ) nameserver program, run as a daemon by default. Provides NetBIOS over IP naming services for Samba clients. Also provides browsing (as in the Windows Network Neighborhood or My Network Places view) support.

nmblookup

Makes NetBIOS (page ) name queries (page ).

smbclient

Displays shares on a Samba server such as a Windows machine (page ).

smbd

The Samba program, run as a daemon by default. Provides file and print services for Samba clients.

smbpasswd

Changes Windows NT password hashes on Samba and Windows NT servers (page ).

smbstatus

Displays information about current smbd connections.

smbtree

Displays a hierarchical diagram of available shares (page ).

swat

Samba Web Administration Tool. A graphical editor for the smb.conf file (page ).

testparm

Checks syntax of the smb.conf file (page ).

testprns

Checks printer names in the printcap file.