On Mon, Sep 19, 2005 at 10:38:44AM -0400, Talwar, Puneet (NIH/NIAID) wrote: > Is there anyway I can check if any users are connected to the server via SMB > connection
| SMBSTATUS(1) SMBSTATUS(1) | | NAME | smbstatus - report on current Samba connections > and how long have they been connected for? Would 'utmp' and 'utmp directory' help? This is from the smb.conf manual page: | utmp (G) | This boolean parameter is only available if Samba has been con- | figured and compiled with the option --with-utmp. If set to | yes then Samba will attempt to add utmp or utmpx records | (depending on the UNIX system) whenever a connection is made to | a Samba server. Sites may use this to record the user connect- | ing to a Samba share. | utmp directory (G) | This parameter is only available if Samba has been configured | and compiled with the option --with-utmp. It specifies a | directory pathname that is used to store the utmp or utmpx | files (depending on the UNIX system) that record user connec- | tions to a Samba server. By default this is not set, meaning | the system will use whatever utmp file the native system is set | to use (usually/var/run/utmp on Linux). > Thanks, Stappers -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
