--=-lF1cg06gA4wGu6l4oHo2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2005-03-08 at 09:05 +0100, Jan Engelhardt wrote:
> Hello list,
>=20
>=20
> currently, samba (3.0.9) creates utmp entries with "smb/#" as tty line, w=

here=20
> # is a sequential number unique to Samba. I=20
>=20
> I wrote a patch that changes this behavior to follow that of (the=20
> long-forgotten) wu-ftpd, which uses "ftp#", where # is the _PID_.
> So the patch uses "smb#" (#=3DPID), which simplifies the session id handl=

ing=20
> code (w.r.t. utmp) a lot, and is also of more use to me than "smb/id".
>=20
> Patch is at http://linux01.org/~jengelh/samba_AS-utmp4.diff
> Opinions are welcome.


You may have many more than one login per smbd process. That is why
when utmp is not in use, we use /dev/smb// as the 'terminal'.
However, the utmp code requires the small, well-behaved number, and so
this is what we have.

Andrew Bartlett

--=20
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net

--=-lF1cg06gA4wGu6l4oHo2
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBCLV4Mz4A8Wyi0NrsRArY3AJ9BMoyU6SsgnLT5jSFU3C qZQvOd5gCgjNjX
kfVIbQR7wi+PDDdQH3H+N5U=
=suoK
-----END PGP SIGNATURE-----

--=-lF1cg06gA4wGu6l4oHo2--