Hello list,

currently, samba (3.0.9) creates utmp entries with "smb/#" as tty line, where
# is a sequential number unique to Samba. I

I wrote a patch that changes this behavior to follow that of (the
long-forgotten) wu-ftpd, which uses "ftp#", where # is the _PID_.
So the patch uses "smb#" (#=PID), which simplifies the session id handling
code (w.r.t. utmp) a lot, and is also of more use to me than "smb/id".

Patch is at http://linux01.org/~jengelh/samba_AS-utmp4.diff
Opinions are welcome.

Jan Engelhardt