Tracking users logging in and out

Andrew Bartlett abartlet at pcug.org.au
Thu Jan 24 03:08:03 GMT 2002


Yan Seiner wrote:
> 
> 1) compile with --with-utmp, then track that.
> 2) use preexec & postexec, and require users to log on to a specific
> share.  This may not work right, though.
> 
> Good luck!

You can also compile --with-pam, and enable a pam sessions module to do
the trick (obey pam restrictions = yes needs to be set in your smb.conf
as well).

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list