mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix setting authTimestamp on non-TOTP binds
This commit is contained in:
parent
34e7cbb6fe
commit
a8491a63e6
@ -583,7 +583,7 @@ totp_bind_response( Operation *op, SlapReply *rs )
|
||||
slap_timestamp( &now, ×tamp );
|
||||
|
||||
m = ch_calloc( sizeof(Modifications), 1 );
|
||||
m->sml_op = LDAP_MOD_ADD;
|
||||
m->sml_op = LDAP_MOD_REPLACE;
|
||||
m->sml_flags = 0;
|
||||
m->sml_type = ad_authTimestamp->ad_cname;
|
||||
m->sml_desc = ad_authTimestamp;
|
||||
|
Loading…
Reference in New Issue
Block a user