Marcelo Opazo Vivallos
2009-Apr-01 00:11 UTC
[Samba] Question about multiples logins at the same time
Hi, Do you have any guideline or variable in Samba in the configuration file it determines that a user can not logging at the same time, in order to avoid same login from different places at the same time. For now, what I plan is to use a startup script that through me like a flag indicating whether logged kick then through some mechanism. I accept all suggestions. Thank you Reggard from Chile -- Marcelo Opazo Vivallos Estudiante de Ing en Informatica Slackware Linux, user #372952. HomePage: http://amarzeck.googlepages.com WebLog: http://amarzeck.blogspot.com Chile.
Daniel Müller
2009-Apr-01 06:42 UTC
AW: [Samba] Question about multiples logins at the same time
If you have a ldap and samba domain there is a way to restrict the login to a single workstation ----------------------------------------------- Daniel M?ller eMail: mueller@tropenklinik.de Internet: www.tropenklinik.de ----------------------------------------------- -----Urspr?ngliche Nachricht----- Von: samba-bounces+mueller=tropenklinik.de@lists.samba.org [mailto:samba-bounces+mueller=tropenklinik.de@lists.samba.org] Im Auftrag von Marcelo Opazo Vivallos Gesendet: Mittwoch, 1. April 2009 02:05 An: samba@lists.samba.org Betreff: [Samba] Question about multiples logins at the same time Hi, Do you have any guideline or variable in Samba in the configuration file it determines that a user can not logging at the same time, in order to avoid same login from different places at the same time. For now, what I plan is to use a startup script that through me like a flag indicating whether logged kick then through some mechanism. I accept all suggestions. Thank you Reggard from Chile -- Marcelo Opazo Vivallos Estudiante de Ing en Informatica Slackware Linux, user #372952. HomePage: http://amarzeck.googlepages.com WebLog: http://amarzeck.blogspot.com Chile. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Walter Mautner
2009-Apr-01 21:42 UTC
[Samba] Question about multiples logins at the same time
Am Wednesday 01 April 2009 02:04:47 schrieb Marcelo Opazo Vivallos:> Hi, > > Do you have any guideline or variable in Samba in the configuration > file it determines that a user can not logging at the same time, in > order to avoid same login from different places at the same time. > > For now, what I plan is to use a startup script that through me like a > flag indicating whether logged kick then through some mechanism. >A "root preexec" script tied to the netlogon share should do the trick. You may search for other smbd processes belonging to the same userid, and either return a nonzero value which will stop opening the netlogon share, or use the info to kill the previous smbd - but that may have your user lose or corrupt open files. Your support staff will not like either of that - often enough there are hanging smbd processes when a client suddenly crashed or the logoff event went unnoticed to the samba server due to whatever reasons, and your users won't be able to logon for a long time.