Account can only be used to login one at a time

David Collier-Brown davec-b at rogers.com
Thu Oct 7 14:40:23 GMT 2004


David Collier-Brown fell into dyslexia and wrote:

>     But they're mostly heuristics, not clear indications.
> 
>     To do a user sign-on limit at the server, the smbds
>     for the same user would need to be "queried" to see
>     if the user was still alive,and the sign-on rejected
>     if there was an active (not dead, not broken and not
>     timed-out) user on another smbd.
> 
>     There is already a mapping from username to smbd, so
>     a query could be a signal or signal-like message to
>     the smbds for that user to send an are-you-there
>     to the client. A disconnected, dead or time-out
                                              timed-out
>     client would resulting a SIGPIPE, that smbd would close
                    result in
>     down and the mapping would be gone.
> 
>     However, because PCs can and will time out, there could
>     be a timed-out connection that the PC thinks is alive,
>     and which it might try to reestablish. The algorithm
>     I describe would only have the choice to allow two
>     connections, or deny the reconnect!
> 
>     This might be A Bad Thing (;-))
> 
> --dave


-- 
David Collier-Brown,         | Always do right. This will gratify
Software Engineer and Author | some people and astonish the rest
davecb at spamcop.net           |                      -- Mark Twain



More information about the samba-technical mailing list