- Table of Contents
- Copyright
- About the Lead Authors
- About the Contributing Authors
- Acknowledgments
- Tell Us What You Think!
- Introduction
- I. Red Hat Linux Installation and User Services
- Chapter 1. Introduction to Red Hat Linux
- Chapter 2. Installation of Your Red Hat System
- Chapter 3. LILO and Other Boot Managers
- Chapter 4. Configuring the X Window System, Version 11
- Chapter 5. Window Managers
- Chapter 6. Connecting to the Internet
- Chapter 7. IRC, ICQ, and Chat Clients
- Chapter 8. Using Multimedia and Graphics Clients
- II. Configuring Services
- Chapter 9. System Startup and Shutdown
- Chapter 10. SMTP and Protocols
- Chapter 11. FTP
- Chapter 12. Apache Server
- Chapter 13. Internet News
- Chapter 14. Domain Name Service and Dynamic Host Configuration Protocol
- Chapter 15. NIS: Network Information Service
- Chapter 16. NFS: Network Filesystem
- Chapter 17. Samba
- Installing Samba
- Getting a Simple Samba Setup Running
- Configuring Samba
- Configuring a Samba File Server with linuxconf
- Sharing Files and Print Services
- Optimizing Samba Performance
- Testing Your Configuration
- Running the Samba Server
- Accessing Shares
- Common smb.conf Options
- Samba Resources
- Using Samba as a Logon Server
- Samba Troubleshooting Tips
- Samba Security
- Using SWAT for Web-Based Samba Configuration
- Using Samba as a Linux Migration Tool
- Summary
- III. System Administration and Management
- Chapter 18. Linux Filesystems, Disks, and Other Devices
- Chapter 19. Printing with Linux
- Chapter 20. TCP/IP Network Management
- Chapter 21. Linux System Administration
- Chapter 22. Backup and Restore
- Chapter 23. System Security
- IV. Red Hat Development and Productivity
- Chapter 24. Linux C/C++ Programming Tools
- Chapter 25. Shell Scripting
- Chapter 26. Automating Tasks
- Chapter 27. Configuring and Building Kernels
- Chapter 28. Emulators, Tools, and Window Clients
- V. Appendixes
- A. The Linux Documentation Project
- B. Top Linux Commands and Utilities
- C. The GNU General Public License
- D. Red Hat Linux RPM Package Listings
Configuring a Samba File Server with linuxconf
On Red Hat machines, you can always start Samba with the following command:
# /etc/rc.d/init.d/smb restart
However, for servers regularly running Samba it's desirable to have Samba start upon boot. That can be done quite easily from linuxconf, using the menu selection Control Panel, Control Service Activity. When presented with a list of services, highlight SMB and press Enter. On the top line check Startup Automatic. Then place an X in Level 3 and Level 5 so that it starts up in network/text and network/GUI mode.
Tab down to the Accept button and press Enter, then tab to the Quit button and press Enter to leave the service list. Next arrow up to Activate Configuration at the top of the Control Panel menu and press Enter. Either the changes are made, or a screen appears giving you the opportunity to activate the changes or preview what has to be done. Highlight Activate the Changes and press Enter. The changes are written to disk, and the Control Panel menu reappears. At this point you can tab to the Quit button and press Enter to leave the Control Panel, and then quit all the way out of linuxconf.
Reboot the machine to test whether in fact Samba started automatically. The following command yields the needed information:
# ps ax | grep mbd 16789 ? S 0:00 smbd -D 16799 ? S 0:00 nmbd -D 16802 ? S 0:00 smbd -D 17236 pts/2 S 0:00 grep mbd #
If one or more copies of smbd and one or more copies of nmbd are running, Samba is running.
Sharing Files and Print Services | Next Section

Account Sign In
View your cart