Fix setting authTimestamp on non-TOTP binds

This commit is contained in:
Howard Chu 2015-07-16 03:28:37 +01:00
parent 34e7cbb6fe
commit a8491a63e6

View File

@ -583,7 +583,7 @@ totp_bind_response( Operation *op, SlapReply *rs )
slap_timestamp( &now, &timestamp );
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;