-W workgroup Specifies the workgroup that you want
-W workgroup Specifies the workgroup that you want the client to connect as. If you want to test a particular name service, run smbclient with -R and just the name of the service. This will force smbclient to use only the service you gave. smbstatus The smbstatus program lists the current connections on a Samba server. There are three separate sections. The first section lists various shares that are in use by specific users. The second section lists the locked files that Samba currently has on all of its shares. Finally, the third section lists the amount of memory usage for each of the shares. For example: # smbstatus Samba version 2.0.3 Service uid gid pid machine network davecb davecb 7470 phoenix (192.168.220.101) Sun May 16 network davecb davecb 7589 chimaera (192.168.220.102) Sun May 16 Locked files: Pid DenyMode R/W Oplock Name 7589 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/samba/quicken/inet/common/system/help.bmp Sun May 16 21:23:40 1999 7470 DENY_WRITE RDONLY NONE /home/samba/word/office/findfast.exe Sun May 16 20:51:08 1999 7589 DENY_WRITE RDONLY EXCLUSIVE+BATCH /home/samba/quicken/lfbmp70n.dll Sun May 16 21:23:39 1999 7589 DENY_WRITE RDWR EXCLUSIVE+BATCH /home/samba/quicken/inet/qdata/runtime.dat Sun May 16 21:23:41 1999 7470 DENY_WRITE RDONLY EXCLUSIVE+BATCH /home/samba/word/office/osa.exe Sun May 16 20:51:09 1999 7589 DENY_WRITE RDONLY NONE /home/samba/quicken/qversion.dll Sun May 16 21:20:33 1999 7470 DENY_WRITE RDONLY NONE /home/samba/quicken/qversion.dll Sun May 16 20:51:11 1999 Share mode memory usage (bytes): 1043432(99%) free + 4312(0%) used + 832(0%) overhead = 1048576(100%) total Options -b Forces smbstatus to produce brief output. This includes the version of Samba and auditing information about the users that have logged into the server. -d Gives verbose output, including each of the three reporting sections listed in the previous example. This is the default. Forces smbstatus to print only the current file locks it has. This corresponds to the second section in a verbose output. -p Prints a list of smbd process IDs only. This is often used for scripts. -S Prints only a list of shares and their connections. This corresponds to the first section in a verbose output. 428
We would like to recommend you tested and proved virtual web hosting services, which you will surely find to be of great quality.