Logging "logon time" in the ldap directory

Gerald Carter jerry at samba.org
Mon Jan 21 10:28:05 GMT 2002

On Thu, 17 Jan 2002 mmessaoudi at vinci-construction.com wrote:

> Hi everybody,
>      Still with my samba 2.2.2 (with ldapsam), the logon time was never
> updated in the directory;
>      The problem exists with logofftime, pwdLastSet (3.0 corrects the
> problem when the password update is done using smbpasswd, not from a Win
> Client);
>      For now, to solve my problem, i had to put a new function
> <passdb/pdb_ldap/pdb_update_sam_logon_time(sampass, time(NULL));> in the
> rpc_server/srv_netlog_nt.c/_net_sam_logon;
>      Is it planned to correct this time stuff in the next release ? (2.2.3
> or 3.0)

I'll look into it.

chau, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list