By Gerald Carter, Jay Ts, Robert Eckstein
Book Price: $44.99 USD
£31.99 GBP
PDF Price: $35.99
Cover | Table of Contents | Colophon
http://www.samba.org under the terms of the GNU General Public License
(http://www.fsf.org/licensing/licenses/gpl.html). And because of Samba's portability, you are free to choose which server platform to use, such as FreeBSD, Linux, Solaris, or OS X.$ grep -i '^s.*m.*b.*' /usr/dict/words
salmonberry samba sawtimber scramble
RAIN, and a pair of Windows clients, to which we will assign the names LETTUCE and TOMATO, all connected via a local area network (LAN). The server RAIN has a local inkjet printer connected to it, inkprint, and a disk share named documents—both of
which it can offer to the other two computers. A graphic of this network is shown in Figure 1-1.
GARDEN workgroup.RAIN, through the My Network Places directory on the Windows desktop, as shown in Figure 1-2. In fact, you should also be able to see each host that belongs to the GARDEN workgroup. Note the Microsoft Windows Network icon in the lefthand toolbar. As we just mentioned, more than one workgroup can exist on a network at any given time. A user who clicks this icon will see a list of all the workgroups that currently exist on the network.net use p: \\rain\documents? To simplify the answer, let's assume the presence of a name service, a datagram service, and a session service, and ignore the details of whether the underlying network uses the NetBIOS interface or TCP/IP. In Chapter 5, we discuss how a CIFS server such as Samba handles operations such as authentication and authorization when connecting to file and printer shares; for now, let's just assume that these things are working.CATHY, has already resolved the server's name, SAM, to an IP address using either DNS or the NetBIOS mechanisms discussed earlier. Be aware that the steps to connect to a file or printer share are not always the same, because CIFS supports multiple authentication types and models. For now however, just focus on the scenario of an individual connecting to a share using a login name and password for the session credentials. This is by far the most common and intuitive case.
|
Protocol name
|
smb.conf name
|
Example clients
|
|---|
http://enterprisesamba.org) provides a WINS server that supports the Microsoft WINS replication protocol. Other pieces, such as Samba 4's memory management library, are shipping in Samba 3.0 today. It's likely that Samba 4 in whole or in part will continue to coexist with Samba 3.0 for several years to come. No one can accurately predict which release will contain the combined features of Samba 3.0 and technology of Samba 4.http://news.samba.org), available mailing lists hosted at |
Role
|
Can perform?
|
|---|---|
|
File server
|
Yes
|
|
Printer server
|
Yes
|
|
Microsoft DFS server
|
Yes
|
|
Windows NT 4 domain controller
|
Yes
|
|
Interact with Windows DCs in the same domain
|
No
|
|
Active Directory DC
|
No
|
|
Windows 95/98/Me authentication
|
Yes
|
|
Windows NT/2000/XP/2003 authentication
|
Yes
|
|
Local master browser
|
Yes
|
|
Domain master browser
|
Yes
|
|
Primary WINS server
|
Yes
|
|
Secondary WINS server
|
No
|
http://www.samba.org. From there, you can select a mirror site that is geographically near you. Most Linux and many Unix vendors provide binary packages. These can be more convenient to install and maintain than the Samba team's source or binary packages, due to the vendor's efforts to supply a package that matches its specific products. The next chapter focuses on all the details necessary to get Samba up and running on your server.
$ smbd -V
Version 3.0.12
$ find / -name smbd -print
/opt/samba/sbin/smbd
http://www.samba.org. Once you connect to this page, you should see a drop-down list of world-wide mirrors. Choose a site that is closest to your own geographic location. The link to the download area is located on the lefthand tool bar that appears on every page on the Samba web site.http://www.gnupg.org) or some other pgp-compatible utility installed on a system. You can verify the tarball's signature on any machine. It does not have to be done on the server used for compiling Samba.Using FLAGS = -O -Iinclude ...
$ make install
|
Directory
|
Description
|
|---|---|
|
/usr/local/samba
|
Main tree
|
|
/usr/local/samba/bin
|
Client binaries and administartive tools
|
|
/usr/local/samba/sbin
|
Server binaries
|
|
/usr/local/samba/lib
|
smb.conf, |
swat 901/tcp
swat stream tcp nowait root /usr/local/samba/sbin/swat swat
SIGHUP (hangup) signal:
$ kill -HUP -a inetd
-a option, so as to allow us to specify the process by name. On FreeBSD and Linux (but not Solaris), you can use the killall command as follows:
$ killall -HUP inetd
$ pkill -HUP inetd
[global]
workgroup = GARDEN
[test]
comment = For testing only, please
path = /export/tmp
read only = no
yes or no as case-insensitive strings.GARDEN workgroup, of which each client should also be a part. If you have already chosen a name for your own workgroup, use the existing name instead of GARDEN in the previous example. In case you are connecting your server to an existing network and need to know the workgroup name, ask another system administrator or go to a Windows system in the workgroup and follow these instructions for Windows 2000/XP/2003:$ /usr/local/samba/sbin/smbd -D $ /usr/local/samba/sbin/nmbd -D
if [ -x /usr/local/samba/bin/smbd]; then
echo "Starting smbd..."
/usr/local/samba/bin/smbd -D
echo "Starting nmbd..."
/usr/local/samba/bin/nmbd -D
fi