I would have asked if you tested on NT4 or W2000, but another Samba lists reader emailed me directly that EnableMultipleUsers is now implemented on W2003. So I configured it on my W2003 PDC (I no longer have any NT4 or W2000) and it works (see below). Both sessions originate from the same Terminal Server, and they start individual smbd daemons on the Samba server. So maybe you do not have the hotfix or servicepack or something. Here is the url to the W2003 instructions:

http://support.microsoft.com/kb/913835

I'll edit my paper to include W2003 and re-post it.

Eric Roseme
Hewlett-Packard
----------------------------------------

emonster->smbstatus

Samba version 3.0.22 based HP CIFS Server A.02.03
PID     Username      Group         Machine
-------------------------------------------------------------------
 1441   administ      Domain U      xx.xxx.208.126 (xx.xxx.208.126)
 1369   eroseme       Domain U      xx.xxx.208.126 (xx.xxx.208.126)

Service      pid     machine       Connected at
-------------------------------------------------------
eroseme      1369   xx.xxx.208.126  Tue Oct  9 08:59:34 2007
backup       1441   xx.xxx.208.126  Tue Oct  9 09:21:51 2007

Locked files:
Pid DenyMode Access R/W Oplock SharePath Name
----------------------------------------------------------------------------------------
1441 DENY_NONE 0x100001 RDONLY NONE /backup . Tue Oct 9 09:22:04 2007 1441 DENY_NONE 0x100001 RDONLY NONE /backup . Tue Oct 9 09:22:04 2007 1369 DENY_NONE 0x100001 RDONLY NONE /home/eroseme . Tue Oct 9 08:59:48 2007 1369 DENY_NONE 0x100001 RDONLY NONE /home/eroseme . Tue Oct 9 08:59:48 2007

Stas wrote:
Terminal server already configured with "EnableMultiUser=1" , but all
sessions from Terminal server appears under same PID :

file-srv:~ # net status sessions
PID     Username      Group         Machine
-------------------------------------------------------------------
 8742   DOMAIN\user1  DOMAIN\domain users  10.163.128.42 (10.163.128.42)
 8742   DOMAIN\user2  DOMAIN\domain users  10.163.128.42 (10.163.128.42)
 8742   DOMAIN\terminal$  DOMAIN\domain computers  10.163.128.42 (10.163.128.42)

So , if i kill PID 8742 all files opened by terminal server users will
be closed .
Thanks.



On 10/8/07, Eric Roseme <[EMAIL PROTECTED]> wrote:
Depends upon your terminal server.  NT4 and W2000 - yes.  W2003 - no
(unless they added the EnableMultipleUsers parameter from W2000).  I
wrote a kind of wordy paper about this:
http://www.docs.hp.com/en/5015/Samba-TerminalServer_104Final.pdf.  This
paper version does not include the W2000 fix, which is the above
parameter and hotfix Q818528.  I have not looked to see if Microsoft
ever fixed this on W2003.  I can send you the whitepaper with the W2000
fix incorporated, if you want it (i never posted the updated version).

Eric Roseme
Hewlett-Packard

Stas wrote:
Hello all.
It is possible to force Samba 3 server to create "smbd" process for
each user that open file from Terminal Server ?
Sometimes I need close files , but can't do that by "kill <PID>" since
 it should close all files that opened by terminal server users ..
It any flexible way to manage open files on Samba ?

Thanks .
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to