[Samba] 3.0.8pre2 and smbstatus

Thomas Bork tombork at web.de
Sat Nov 13 19:32:12 GMT 2004


Gerald (Jerry) Carter schrieb:

> | 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.

Maybe it's better to return an error message or always using
'-L -B' if someone enters 'smbstatus -B'.

> 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         (192.168.1.138)

Thanks a lot!

-- 
der tom


More information about the samba mailing list