Password lockout for LDAP backend. Caches autolock flag, bad count, and
commit2a679cbc87a2a9111e9e6cdebbb62dec0ab3a0c0
authorJim McDonough <jmcd@samba.org>
Thu, 18 Mar 2004 19:22:51 +0000 (18 19:22 +0000)
committerJim McDonough <jmcd@samba.org>
Thu, 18 Mar 2004 19:22:51 +0000 (18 19:22 +0000)
tree421e88da5aa45765ebeb4bdad99115013f9b404b
parentf21182e24fe440b0cec57baf52cfbe6e07d6c7b7
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.
source/Makefile.in
source/include/passdb.h
source/include/smbldap.h
source/lib/smbldap.c
source/passdb/login_cache.c [new file with mode: 0644]
source/passdb/pdb_ldap.c