Is there anyway to ascertain what shares a client actually has mounted at a given time? I've got a number of WFW boxes connecting shared drives on my SCO-OSE3 box using SAMBA 1.9.16p5 (upgrading to latest version RSN). I've got some shell scripts on the Unix box which use escape sequences sent to the client telnet to start programs on the client side. Some of these programs assume that some shares from the SCO box will be mounted on the WFW machine. Is there anyway I can know, on the Unix side, what shares a WFW client has connected? Also, how can I ensure that the WFW clients actually do mount the shares I'd like them to have mounted at startup? -- Bill McEachran billjr@penny.com
W.J. McEachran wrote:> > Is there anyway to ascertain what shares a client actually has mounted at a > given time? > > I've got a number of WFW boxes connecting shared drives on my SCO-OSE3 box > using SAMBA 1.9.16p5 (upgrading to latest version RSN). > > I've got some shell scripts on the Unix box which use escape sequences sent to > the client telnet to start programs on the client side. Some of these programs > assume that some shares from the SCO box will be mounted on the WFW machine. > > Is there anyway I can know, on the Unix side, what shares a WFW client has > connected? > > Also, how can I ensure that the WFW clients actually do mount the shares I'd > like them to have mounted at startup? > -- > Bill McEachran billjr@penny.comYou can use smbstatus which will give you a list of services used use by each machine. -- =====================================================================Herb Lewis Silicon Graphics Technical Marketing 2011 N Shoreline Blvd Network Systems Division Mountain View, CA 94043 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
On Wed, Mar 25, 1998 at 09:04:30AM -0800, Herb Lewis wrote:> > Samba version 1.9.16p5 > > Service uid gid pid machine > > ---------------------------------------------- > > tmp billjr group 20960 billjr (207.176.139.10) Wed Mar 25 > > 09:02:18 1998 > > What version of samba are you using. I just mounted 3 shares on my > win95 laptop and then ran smbstatus1.9.16p5 (upgrading to latest RSN ... maybe sooner than I'd expected).> > The net view from the PC shows: > > Status Local name Remote name > --------------------------------------------------------- > OK F: \\CHOMPS\WIN95 > OK G: \\CHOMPS\TMP > OK H: \\CHOMPS\HERB > The command was completed successfully. > > > smbstatus shows: (IP Addresses and date removed) > > Samba version 1.9.18p3 > Service uid gid pid machine > ---------------------------------------------- > tmp nobody nobody 5794 herbdhcp1 > win95 nobody nobody 5794 herbdhcp1 > herb herb user 5794 herbdhcp1 > > No locked files > > Share mode memory usage (bytes): > 102248(99%) free + 96(0%) used + 56(0%) overhead = 102400(100%) totalHerb, Thanks a lot for the feedback. I've got another machine (SCO-OSE5) on which I've been playing around with the latest version of SAMBA. If I can get it to produce a binary that'll run on OSE-3 I'll upgrade right away. -- Bill McEachran billjr@penny.com
McEachran wrote:> > Is there anyway to ascertain what shares a client actually has mounted at a > given time? > > I've got a number of WFW boxes connecting shared drives on my SCO-OSE3 box > using SAMBA 1.9.16p5 (upgrading to latest version RSN). >Perhaps smbstatus works? Hajo Muenzer