[Samba] 3.0.8pre2 and smbstatus

Thomas Bork TomBork at web.de
Wed Nov 3 20:13:25 GMT 2004


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:

test2 # smbstatus --help
Usage: [OPTION...]
  -p, --processes                  Show processes only
  -v, --verbose                    Be verbose
  -L, --locks                      Show locks only
  -S, --shares                     Show shares only
  -u, --user=ARG                   Switch to user
  -b, --brief                      Be brief
  -B, --byterange                  Include byte range locks

Help options
  -?, --help                       Show this help message
  --usage                          Display brief usage message

Common samba options:
  -d, --debuglevel=DEBUGLEVEL      Set debug level
  -s, --configfile=CONFIGFILE      Use alternative configuration file
  -l, --log-basename=LOGFILEBASE   Basename for log/debug files
  -V, --version                    Print version

test2 # smbstatus -p

Samba version 3.0.8pre2
PID     Username      Group         Machine
-------------------------------------------------------------------
 3164   root          root          tb2          (192.168.0.7)

Service      pid     machine       Connected at
-------------------------------------------------------
public        3164   tb2           Wed Nov  3 21:06:26 2004

test2 # smbstatus -S

Samba version 3.0.8pre2
PID     Username      Group         Machine
-------------------------------------------------------------------
 3164   root          root          tb2          (192.168.0.7)

Service      pid     machine       Connected at
-------------------------------------------------------
public        3164   tb2           Wed Nov  3 21:06:26 2004

test2 # smbstatus -B

Samba version 3.0.8pre2
PID     Username      Group         Machine
-------------------------------------------------------------------
 3164   root          root          tb2          (192.168.0.7)

Service      pid     machine       Connected at
-------------------------------------------------------
public        3164   tb2           Wed Nov  3 21:06:26 2004
No locked files


I would expect this:

test2 # smbstatus -p

Samba version 3.0.8pre2
PID     Username      Group         Machine
-------------------------------------------------------------------
 3164   root          root          tb2          (192.168.0.7)

test2 # smbstatus -S

Service      pid     machine       Connected at
-------------------------------------------------------
public        3164   tb2           Wed Nov  3 21:06:26 2004

test2 # smbstatus -B

No locked files


der tom
________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193



More information about the samba mailing list