Date: Thu Mar 18 19:22:50 2004 Author: jmcd Update of /home/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv9640/lib
Modified Files: Tag: SAMBA_3_0 smbldap.c Log Message: Password lockout for LDAP backend. Caches autolock flag, bad count, and bad time locally, updating the directory only for hitting the policy limit or resetting. This needed to be done at the passdb level rather than auth, because some of the functions need to be supported from tools such as pdbedit. It was done at the LDAP backend level instead of generically after discussion, because of the complexity of inserting it at a higher level. The login cache read/write/delete is outside of the ldap backend, so it could easily be called by other backends. tdbsam won't call it for obvious reasons, and authors of other backends need to decide if they want to implement it. Revisions: smbldap.c 1.1.2.32 => 1.1.2.33 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/smbldap.c.diff?r1=1.1.2.32&r2=1.1.2.33