>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?

>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.

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.

Jan Engelhardt