new utmp scheme

Andrew Bartlett abartlet at samba.org
Tue Mar 8 08:23:03 GMT 2005


On Tue, 2005-03-08 at 09:14 +0100, Jan Engelhardt wrote:
> >You may have many more than one login per smbd process.  That is why
> 
> Does opening multiple network connections (e.g. Y: => home, Z: => /opt) open 
> one or more logins?

Terminal server is the nasty case, but you will also get this happening
on normal workstations with RunAs.  

> >when utmp is not in use, we use /dev/smb/<pid>/<vuid> as the 'terminal'.
> >However, the utmp code requires the small, well-behaved number, and so
> >this is what we have.
> 
> Well, I did not have any problems so far with "smb#pid#". And I do not think 
> that smb-pid-terminal number is used outside that function. Everywhere else, 
> smb still uses smb/sessid afaics.

Yes, it is only used in utmp.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20050308/fe9356b8/attachment.bin


More information about the samba-technical mailing list