enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #00544
Re: [Question #176067]: Obtaining valid status about active connections
Question #176067 on samba in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/176067
Bob Harvey gave more information on the question:
This is the effect of using a windows client
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------------------Server login---------------------
login as: bob
bob@server01's password:
Linux server01 2.6.32-34-server #77-Ubuntu SMP Tue Sep 13 20:54:38 UTC 2011 x86_ 64 GNU/Linux
Ubuntu 10.04.3 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Mon Oct 24 21:22:33 BST 2011
System load: 1.22 Memory usage: 5% Processes: 157
Usage of /: 50.5% of 3.46GB Swap usage: 0% Users logged in: 0
=> There are 2 zombie processes.
Graph this data and manage this system at
https://landscape.canonical.com/
Last login: Mon Oct 24 16:22:15 2011 from 10.63.63.63
============================Server end, no client =========================
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
No locked files
==================Server end, Windows Client file navigator
open=============================
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
Locked files:
Pid Uid DenyMode Access R/W Oplock Share Path Name Time
-------------------------------------------------------------------------------- ------------------
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/ share/samba . Mon Oct 24 21:23:07 2011
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba . Mon Oct 24 21:23:07 2011
=====================Server end, Text file opened in Windows cllient text editor========================
=====================File /srv/share/samba/code/keep_alive.py opened with scite editor ==================
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba . Mon Oct 24 21:23:07 2011
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba code Mon Oct 24 21:26:13 2011
746 501 DENY_ALL 0x20089 RDONLY EXCLUSIVE+BATCH /srv/share/samba code/keep_alive.py Mon Oct 24 21:26:32 2011
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba . Mon Oct 24 21:23:07 2011
bob@server01:~$
===================Server side, A few minutes later, text file still open in windows client editor=====================
===================Closing the editor has no effect. It looks the same as thisThe directories are still locked =======
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba code Mon Oct 24 21:26:13 2011
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba . Mon Oct 24 21:23:07 2011
bob@server01:~$
========================Server side, windows client file explorer navigated up one level=======
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
IPC$ 746 10.63.63.63 Mon Oct 24 21:31:46 2011
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
746 501 DENY_NONE 0x100081 RDONLY NONE /srv/share/samba . Mon Oct 24 21:23:07 2011
bob@server01:~$
=====================Server side, windows client file explorer closed altogehter =========================
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
share 746 10.63.63.63 Mon Oct 24 21:23:06 2011
No locked files
bob@server01:~$
=====================Server side, a few minutes later. Nothing else opened or closed on windows client ========
bob@server01:~$ smbstatus
Samba version 3.4.7
PID Username Group Machine
-------------------------------------------------------------------
<processes do not show up in anonymous mode>
Service pid machine Connected at
-------------------------------------------------------
No locked files
bob@server01:~$
--
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba
in Ubuntu.