[Samba] 3.0.8pre2 and smbstatus

Gerald (Jerry) Carter jerry at samba.org
Thu Nov 11 23:23:06 GMT 2004

Hash: SHA1

Thomas Bork wrote:
| Hallo,
| in 3.0.8pre2 the smbstatus command always shows
| connections _and_ shares even if using the switches '-p'
| for showing processes only or '-S' for showing shares
| only or '-B' for showing locks only:

Fixed.  But there's a little confusion on the -B.  That should
add in byte range locks with the -L (locked files).  Not used
by itself.

queso# bin/smbstatus -L -B
Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
- --------------------------------------------------------------
20774  DENY_WRITE 0x20        RDONLY     NONE
	/home/queso/jerry/cvc4_15_14d.exe   Thu Nov 11 17:18:51 2004

queso:# bin/smbstatus -S

Service      pid     machine       Connected at
- -------------------------------------------------------
IPC$         20774   xera          Thu Nov 11 17:19:06 2004
public       20774   xera          Thu Nov 11 17:06:43 2004
jerry        20774   xera          Thu Nov 11 15:06:40 2004
IPC$         20678   velma         Thu Nov 11 14:23:33 2004

queso:# bin/smbstatus -p

Samba version 3.0.8pre2-SVN-build-3682
PID     Username      Group         Machine
- -------------------------------------------------------------------
20774   jerry         users         xera         (

cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the samba mailing list