Configuring <application>Samba</application> Because of the various uses for Samba, complete configuration is well beyond the scope of the BLFS book. In fact, many complete books have been written on this topic alone. The included documentation, a popular book published by O'Reilly, can be viewed by pointing your web browser to . The built in SWAT (Samba Web Administration Tool) utility can be used for basic configuration, however, before using SWAT you must add an entry to /etc/services and make changes to your inetd/xinetd configuration. Add the swat entry to /etc/services with the following command: echo "swat 901/tcp" >> /etc/services If inetd is used, the following command will add the swat entry to /etc/inetd.conf: echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \ >> /etc/inetd.conf If xinetd is used, the following command will add the swat entry to /etc/xinetd.conf: cat >> /etc/xinetd.conf << "EOF" service swat { port = 901 socket_type = stream wait = no only_from = 127.0.0.1 user = root server = /usr/sbin/swat log_on_failure += USERID } EOF SWAT can be launched by pointing your web browser to . For your convenience, boot scripts have been provided for Samba. There are two included in the package. The first, samba, will start the smbd and nmbd daemons needed to provide SMB/CIFS services. The second script, winbind, starts the winbindd daemon, used for providing Windows domain services to Linux clients. Install the samba script with the following command: make install-samba If you also need the winbind script: make install-winbind