Re: [Samba] Closing sessions and smbstatus

2008-10-21 Thread Jeremy Allison
On Tue, Oct 21, 2008 at 12:21:12AM -0200, Norberto Bensa wrote: Quoting Jeremy Allison [EMAIL PROTECTED]: On Mon, Oct 20, 2008 at 10:03:46PM -0200, Norberto Bensa wrote: Locked files: Pid UidDenyMode Access R/WOplock SharePath Name Time

RE: [Samba] Closing sessions and smbstatus

2008-10-21 Thread Rippl, Steve
On Mon, Oct 20, 2008 at 12:52:57PM -0700, Steve Rippl wrote: But checking our server I find that the processes DO still exist! So I'm getting a user session in smbstatus with a specific PID and when I ps -ef | grep PID there is the smbd process still running, yet the user has long since

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Vlastimil Šetka
Hi, When are client sessions closed? Let me explain what I'm trying to do... we're in a School district and we try to stop kids logging more than once. They way I did this before was to dump the active sessions from our previous Server2003 fileserver into a file once a minute and process

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Steve Rippl
On Mon, 2008-10-20 at 21:10 +0200, Vlastimil Šetka wrote: Hi, When are client sessions closed? Let me explain what I'm trying to do... we're in a School district and we try to stop kids logging more than once. They way I did this before was to dump the active sessions from our

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Vlastimil Šetka
But checking our server I find that the processes DO still exist! So I'm getting a user session in smbstatus with a specific PID and when I ps -ef | grep PID there is the smbd process still running, yet the user has long since logged out (days ago)?! It's not just that the .tbd file hasn't

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Jeremy Allison
On Mon, Oct 20, 2008 at 12:52:57PM -0700, Steve Rippl wrote: But checking our server I find that the processes DO still exist! So I'm getting a user session in smbstatus with a specific PID and when I ps -ef | grep PID there is the smbd process still running, yet the user has long since

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Norberto Bensa
Hello list, On Monday October 20 2008 18:01:10 Jeremy Allison wrote: On Mon, Oct 20, 2008 at 12:52:57PM -0700, Steve Rippl wrote: Is this just happening to me on our particular setup or is this normal behavior? I'm having this problem too. Ubuntu 8.04.1. Samba 3.0.28A (IIRC) No, that's

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Norberto Bensa
Quoting Jeremy Allison [EMAIL PROTECTED]: When you find a process in this state attach using strace -p pid (on Linux) to see what it's up to. [EMAIL PROTECTED]:~$ sudo smbstatus Unknown parameter encountered: change notify timeout Ignoring unknown parameter change notify timeout Samba

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Jeremy Allison
On Mon, Oct 20, 2008 at 10:03:46PM -0200, Norberto Bensa wrote: Quoting Jeremy Allison [EMAIL PROTECTED]: When you find a process in this state attach using strace -p pid (on Linux) to see what it's up to. [EMAIL PROTECTED]:~$ sudo smbstatus Unknown parameter encountered: change notify

Re: [Samba] Closing sessions and smbstatus

2008-10-20 Thread Norberto Bensa
Quoting Jeremy Allison [EMAIL PROTECTED]: On Mon, Oct 20, 2008 at 10:03:46PM -0200, Norberto Bensa wrote: Locked files: Pid UidDenyMode Access R/WOplock SharePath Name Time