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
--------------------------------------
[EMAIL PROTECTED]
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/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to