1 Apr 2009 23:41
Re: Question about multiples logins at the same time
Walter Mautner <retlaw.rentuam <at> gmail.com>
2009-04-01 21:41:57 GMT
2009-04-01 21:41:57 GMT
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. -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
RSS Feed