]> git.sur5r.net Git - openldap/commit - contrib/slapd-modules/passwd/totp/slapd-totp.c
Merge authTimestamp from lastbind overlay
authorHoward Chu <hyc@openldap.org>
Thu, 2 Jul 2015 19:12:51 +0000 (20:12 +0100)
committerHoward Chu <hyc@openldap.org>
Thu, 2 Jul 2015 19:12:51 +0000 (20:12 +0100)
commitea43ac38bf8919b028466e493a69e77fdd91657d
tree7bdddf39e7da42b77e921ea120e4e4a7fda36d64
parente069a79239774e4fb1a68358c37ab79c0afd0e2d
Merge authTimestamp from lastbind overlay

This code duplicates the basic function of lastbind. The two overlays
cannot be used together. The timestamp Mod op is changed to require
the old value to still be present at the end of the Bind. This allows
us to detect collisions (multiple successful Binds in the same time
window) and properly fail the extra Bind attempts.
contrib/slapd-modules/passwd/totp/README
contrib/slapd-modules/passwd/totp/slapd-totp.c