740 Part V . Running Servers . Domain (Mac os x web server)

740 Part V . Running Servers . Domain master Set this to Yes if you want the Samba server (nmbd daemon) to identify itself as the domain master browser for its workgroup. This list will then allow client computers assigned to the workgroup to use SMB-shared files and printers from subnetworks that are outside their own subnetwork. This is set to No by default. If browsing isn t working, check the nmbd log file (/var/log/samba/log.nmbd). To get more detail, increase the debug information level to 2 or 3 (described earlier in this section) and restart Samba. The log can tell you if your Samba server is the master browser and, if so, which computers are on its list. WINS Options Use the WINS options if you want to have a particular WINS server provide the name-to-address translation of NetBIOS names used by SMB clients: . Wins server If there is a WINS server on your network that you want to use to resolve the NetBIOS names for your workgroup, enter that server s IP address here. Again, you probably want to use a WINS server if your workgroup extends outside the local subnetwork. . Wins support Set this value to Yes if you want your Samba server to act as a WINS server. (It s No by default.) Again, this is not needed if all the computers in your workgroup are on the same subnetwork. Only one computer on your network should be assigned as the WINS server. In addition to the values described here, you can access dozens more options by clicking the Advanced View button. When you have filled in all the fields you need, click Commit Changes on the screen to have the changes written to the /etc/ samba/smb.conf file. Configuring Shared Directories with SWAT To make your shared directory available to others, add an entry to the SWAT window. To use SWAT to set up Samba to share directories, do the following: You may see one or more security warnings during the course of this procedure. These messages warn you that someone can potentially view the data you are sending to SWAT. If you are working on your local host or on a private LAN, the risk is minimal. 1. From the main SWAT window, click the SHARES button. 2. Type the name of the directory that you want to share in the Create Share box, and then click Create Share. 3. Add any of these options: Comment A few words to describe the shared directory (optional). Path The path name of the directory you are sharing. Note Note
Check Tomcat Web Hosting services for best quality webspace to host your web application.

Leave a Reply