# security = domain is preferred as it incurs less overhead # To use security = domain, you will need to get a machine account # created for in # # Once the macine account is created, you will want to fill in the # fields for the SECURITY = DOMAIN configuration # For the password server, you will need to include domain # controllers for the as well as # the . You may have to # experiment with the order of the domain controllers # depending on whether or not trust relationships exist # between the machine and user resource domains. # # SECURITY = DOMAIN configuration, edit and uncomment the next # 3 lines # workgroup = # security = domain # password server = # # After the machine account is created and the configuration # files are set up, you will need to join the domain *BEFORE* # starting Samba. # # It is also a good idea to create an lmhosts file in this # directory with the ip addresses and hostnames of the domain # controllers, especially the systems listed in the password # server directive. The format of the file is # # IP-PDC HOSTNAME-PDC # IP-BDC HOSTNAME-BDC # # The command to join the domain is: # # smbpasswd -j -r # # SECURITY = SERVER configuration, edit and uncomment the next # 3 lines workgroup = AMERICASE security = domain password server = zrtpd0pp zrtphdc0 zrtphdc1 zrtphdc3 # wins server = 47.140.205.113 encrypt passwords = yes server string = "TEST Server %h (%L), Samba" # It is only necessary to configure the following if you have # multiple interfaces and want to # # 1. Run Samba on *some*, but not *all* of the # interfaces. List the interfaces/netmasks for all # interfaces you wish to have Samba running on. Rember to # include the loopback interface '127.0.0.1/8'. You might # want to create netbios aliases for the other interfaces # corresponding to the hostname for the interface IP address. # # 2. Run a separate smbd/nmbd on each interface # # a. You will need to make separate smb.conf. for # each interface where corresponds to the hostname # for the IP assocoiated with the interface. See # additional comments in smb.conf.tmpl # # b. Make separate smb.conf.global. files (from # this template) and edit interfaces to list just the IP # address for the interface # # c. One, and only one, smb.conf.global. # interfaces list needs to include the loopback interface # '127.0.0.1/8'. Use the hostname that corresponds to # the primary hostname of the system -- the output of # "hostname" # # d. Add a netbios alias for hostnames that are not the # primary hostname # # e. Edit etc/init.d/samba and set DO_INTERFACES=1 # # f. You may want to create smb.conf.shares. in # the event you wish to have different shares associated # with the different interfaces. Otherwise, you can have # just one share file used by every interface. # # interfaces = " " # bind interfaces only = yes # netbios aliases = # lock directory = /usr/local/samba/var/