Commit b078edc8 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files


parent 2a87e7f6
......@@ -4,6 +4,7 @@ OpenLDAP 2.4.19 Engineering
Fixed slapadd to warn about missing attrs for replicas (ITS#6281)
Fixed slapd tools to allow -n for conversion (ITS#6258)
Fixed slapd-ldif buffer overflow (ITS#6303)
Fixed slapo-auditlog comments when modifying (ITS#6286)
Fixed slapo-dynlist lock leak (ITS#6308)
Fixed slapo-pcache cache corruption (ITS#6242)
Fixed slapo-sssvlv sort control dereferencing (ITS#6288)
......@@ -73,7 +73,7 @@ static int auditlog_response(Operation *op, SlapReply *rs) {
Attribute *a;
Modifications *m;
struct berval *b, *who = NULL;
char *what, *suffix;
char *what, *whatm, *suffix;
time_t stamp;
int i;
......@@ -147,15 +147,15 @@ static int auditlog_response(Operation *op, SlapReply *rs) {
for(m = op->orm_modlist; m; m = m->sml_next) {
switch(m->sml_op & LDAP_MOD_OP) {
case LDAP_MOD_ADD: what = "add"; break;
case LDAP_MOD_REPLACE: what = "replace"; break;
case LDAP_MOD_DELETE: what = "delete"; break;
case LDAP_MOD_INCREMENT: what = "increment"; break;
case LDAP_MOD_ADD: whatm = "add"; break;
case LDAP_MOD_REPLACE: whatm = "replace"; break;
case LDAP_MOD_DELETE: whatm = "delete"; break;
case LDAP_MOD_INCREMENT: whatm = "increment"; break;
fprintf(f, "# MOD_TYPE_UNKNOWN:%02x\n", m->sml_op & LDAP_MOD_OP);
fprintf(f, "%s: %s\n", what, m->sml_desc->ad_cname.bv_val);
fprintf(f, "%s: %s\n", whatm, m->sml_desc->ad_cname.bv_val);
if((b = m->sml_values) != NULL)
for(i = 0; b[i].bv_val; i++)
fprint_ldif(f, m->sml_desc->ad_cname.bv_val, b[i].bv_val, b[i].bv_len);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment