patch for logon time on samba3.0 alpha22

jra at dp.samba.org jra at dp.samba.org
Wed Mar 19 21:56:55 GMT 2003


On Thu, Mar 20, 2003 at 08:36:10AM +1100, Andrew Bartlett wrote:
> On Thu, 2003-03-20 at 01:38, Jianliang Lu wrote:
> > Hi,
> > I've patched the samba3.0 alpha22 for logon_time, now the user's logon time 
> > is updated when he logs on successfully.
> > In attachment is the patch.
> 
> Does NT do this only for file-share connects?  Or also for Domain
> logons?
> 
> If domain logons also trigger it, then the correct place is
> 'auth/auth_sam.c'.  But watch out, we probably need an option to disable
> this, as in some PDC/BDC setups, it could entail an expensive LDAP
> update over a WAN.
> 
> But nice work - it's the kind of detail I've been meaning to catch up on
> for a while.

Yep - looks good, although not the place I'd put it. I'm looking
at adding the code into the auth system to implement the Windows
account restrictions (unless it's there in 3.0 and I haven't
found it yet, which is possible :-).

Jeremy.


More information about the samba-technical mailing list