Page 273 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 273

Unit 14: File Server





          netbios name = GALAXY                                                                 notes
          server string = Samba Server
          These directives are networking orientated and classify which networking interfaces to operate
          on and which subnetworks are allowed to connect to your server. These are important to specify
          so the server it protected from any possible connections that are attempted from the external
          network.

                 Example:

          interfaces = eth1 lo
          hosts allow = 192.168.1. 127.0.0.1
          socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
          You  should  indicate  a  log  file  for  the  server.  Here  the  “%m.log”  definition  means  that  each
          workstation connecting to the server will have its own log file.

                 Example:

          log file = /var/log/samba/%m.log
          max log size = 5
          Some windows clients before Windows 98 and Windows NT (SP3) do not support encrypted
          passwords, you may require to adjust this if you are using very old Microsoft clients.

          Samba will store passwords in encrypted format by default.

                 Example:

          encrypt passwords = yes
          smb passwd file = /etc/samba/smbpasswd
          The  following  options  detail  how  your  Samba  server  will  behave  on  your  network.
          The  “security”  directive  concludes  whether  the  server  will  function  as  a  Windows  Domain
          Controller or as a simple standalone server for a peer-to-peer system, the “user” option is the
          default mode. The “wins support” option tells the server to run its own WINS server for name
          resolution, this is typical of many Microsoft networks. “dns proxy” is not required for a small
          network and can be disabled.
          The remaining settings determine if the server will present itself as a master browser on the
          network, this will cause the server to participate in network browser elections and attempt to
          become the master browser.


                 Example:
          security = user
          local master = Yes
          os level = 33

          domain master = Yes
          preferred master = Yes
          wins support = Yes
          dns proxy = No




                                           LoveLy professionaL university                                   267
   268   269   270   271   272   273   274   275   276   277   278