Tracking users logging in and out

Yan Seiner yan at cardinalengineering.com
Thu Jan 24 03:22:13 GMT 2002


Andrew Bartlett wrote:
> 
> 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).

My understanding, though, is that this will require win clients to log
in with unencrypted passwords.  Is that not correct?  I'd love to use
pam if I could, as I could do wonders with things like pam_warn and
pam_smb.

--Yan

-- 
Daddy, did all the hair that fell off your head stick to your arms?
Akari, age 4
 ... 
 oberon.cardhome.lan: 6:09am up 4 days, 18:01, 6 users, load average:
0.34, 0.16, 0.11




More information about the samba mailing list