CVS update: samba/source/passdb

jmcd at samba.org jmcd at samba.org
Thu Mar 18 19:22:51 GMT 2004


Date:	Thu Mar 18 19:22:51 2004
Author:	jmcd

Update of /home/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv9640/passdb

Modified Files:
      Tag: SAMBA_3_0
	pdb_ldap.c 
Added Files:
      Tag: SAMBA_3_0
	login_cache.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:
login_cache.c		NONE => 1.1.2.1
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/login_cache.c?rev=1.1.2.1
pdb_ldap.c		1.28.2.105 => 1.28.2.106
	http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c.diff?r1=1.28.2.105&r2=1.28.2.106


More information about the samba-cvs mailing list