688 Part V . Running Servers Checking the (Web host sites)

688 Part V . Running Servers Checking the Status of Shared Directories The smbstatus command can view who is currently using Samba shared resources offered from your Linux system. The following is an example of the output from smbstatus: Samba version 3.0.3-4 PID Username Group Machine ——————————————————————- Service pid machine Connected at ——————————————————- IPC$ 10865 shuttle Wed Aug 25 07:22:13 2004 tmp 10866 shuttle Wed Aug 25 07:29:14 2004 tmp 10874 10.0.0.177 Wed Aug 25 07:33:01 2004 Locked files: Pid DenyMode Access R/W Oplock Name ————————————————————– 10874 DENY_FCB 0×3 RDWR NONE /tmp/.m.swp Wed Aug 25 07:22:21 2004 10874 DENY_NONE 0×1 RDWR NONE /tmp/m Wed Aug 25 08:12:33 2004 This output shows that from the Linux Samba server, the tmp service (which is a share of the /tmp directory) is currently open by the computer named shuttle. PID 10874 is the process number of the smbd daemon on the Linux server that is handling the service. The files open are the /tmp/m and /tmp/.m.swap, which happen to be opened by a vi command. Both have read/write access. Using Samba Shared Directories Once you have configured your Samba server, you can try using the shared directories from a client computer on your network. The following sections describe how to use your Samba server from another Linux system or from various Windows systems. Using Samba from Nautilus To connect to a Samba share from a Nautilus file manager, use the Open Location box by clicking File.Open Location. Then type smb: into your Nautilus file manager Location box. A list of SMB workgroups on your network appears in the window. You can select a workgroup, choose a server, and then select a resource to use. This should work for shares requiring no password. The Nautilus interface seems to be a bit buggy when you need to enter passwords. It also requires you to either send clear-text passwords or type the username and password into your location box. For example, to get to my home directory (/home/chris) through Nautilus, I can type my username, password, server name, and share name as follows: smb://chris:my72mgb@arc/chris
In case you need quality webspace to host and run your web applications, try our personal web hosting services.

Leave a Reply