Tracking users logging in and out
Andrew Bartlett
abartlet at pcug.org.au
Thu Jan 24 05:30:31 GMT 2002
Yan Seiner wrote:
>
> 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.
This is correct for Samba's traditional PAM support. I did some work on
samba almost a year ago that allows samba to call on PAM's other
features, including account managment and session tracking - even when
we use encrypted passwords.
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