Previous Page | Next Page

  1. Agustin's Linux Manual
  2. Networks & Servers
  3. About the Author
  4. Table of Contents
  5. IP Addresses Networks and Subnets
  6. Network Classes
  7. IP Address in Decimal Notation
  8. Sub-netting
  9. Designing Subnets
  10. Allocating Subnets
  11. Defining Host Addresses
  12. Variable Length Subnet Mask
  13. Routing Protocols
  14. Classless Internet Domain Routing
  15. Servers - Chapter 9
  16. Apache Web Server
  17. Configuring Apache
  18. Uploading Web Pages
  19. Apache Overview
  20. MIMEMagic
  21. DNS Servers
  22. Welcome to Webmin
  23. Creating the Master Domain
  24. Adding the Reverse Zone
  25. Querying the DNS server
  26. Adding Virtual Domain to DNS Server
  27. Reverse Zone for Virtual Zone
  28. Binding IP Address for Virtual Domain
  29. Virtual Web Hosting
  30. DNS Security Options
  31. FTP Server
  32. Securing the FTP Server
  33. Email Server
  34. Postfix Configuration
  35. Dealing with Identical Users
  36. Configuring Email Clients
  37. Configuring Outlook
  38. Samba Server
  39. Configuring SAMBA Server
  40. The smb.conf File
  41. smb.conf Analysis
  42. Adding Users to Samba

Configuring SAMBA Server

First of all you have to make sure that the Samba server is running; and of course that all your network connections are active and functional, otherwise you will be wasting your time trying to figure out why something is not working; but this is basic and you should know it.

Starting, restarting and stopping the Samba server:

[root@server2 root]# service smb start
[root@server2 root]# service smb restart
[root@server2 root]# service smb stop

If the server is not running at boot time use the services control panel to set it -run at boot time.

Samba server simulates a windows domain server; however, as seen, it actually works just as a workgroup. As a matter of fact, it is defaulted to a workgroup. If you already learned how to do scripting, I am sure you can do a lot of automated tasks to configure your samba server once you've learned the essentials.

Samba can be accessed from any windows system. Depending on the version of windows, security risk is involved. My suggestion is that if you are going to set up a Samba server in your network, try to use NT, Windows 2k pro or XP pro. With these versions you can improve some securities at system level.

For windows 2000 and XP:

Disable Domain member: Digitally encrypt or sign secure channel data
Disable Domain member: Digitally sign secure channel data (when possible)

This is done through Security settings => Local Policies => Security Options.

See Microsoft knowledge base for any error you may encounter…

Samba's main configuration file resides in /etc/samba/smb.conf under Mandrake Linux. For other distributions it may be located in different place. The steps in the configuration are still the same. Let's analyze the configuration file on the next page: