[Samba] smbd process per user ( Samba 3 + Terminal server )

Stas narezatel at gmail.com
Mon Oct 8 16:19:44 GMT 2007


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 <eroseme at emonster.rose.hp.com> 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 .
>


More information about the samba mailing list