Alceu Rodrigues de Freitas Jr.
2002-Nov-04 11:17 UTC
[Samba] how to avoid two users using the same login id at the same time
Hello, I don?t know if this is the correct list to post this question, but... I need to restrict my Samba PDC to permit just ONE login with a id at a time. I don?t want two users (or more) using the same login at the same time. I?m tracking user activity using preexec and postexec to execute commands after acessing a shared directory at Samba PDC. I can get the information about login and logout, but I can?t avoid users getting the same login without blocking the user with smbpasswd -d after the first login. I?ve got some information about in the list archive regarding about using the directive "use pam restriction", compiling Samba to use wtmp and using a PAM module to track user activity in wtmp database. This seems to be very complicated to me, since I don?t know PAM very well. Anybody could share some experience about this issue? Any comment about would help me. Thank you all, ====Alceu Rodrigues de Freitas Junior -------------------------------------- glasswalk3r@yahoo.com.br http://www.imortais.cjb.net -- Hell is empty and all the devils are here. -- Wm. Shakespeare, "The Tempest" _______________________________________________________________________ Yahoo! GeoCities Tudo para criar o seu site: ferramentas f?ceis de usar, espa?o de sobra e acess?rios. http://br.geocities.yahoo.com/