mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
r2713: better handling of binary values in index key creation
(This used to be commit b0c92616fb
)
This commit is contained in:
parent
0244414a58
commit
14a0e37582
@ -70,7 +70,7 @@ static char *ldb_dn_key(struct ldb_context *ldb,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
ldb_asprintf(ldb, &ret, "%s:%s:%s", LTDB_INDEX, attr, (char *)value->data);
|
ldb_asprintf(ldb, &ret, "%s:%s:%.*s", LTDB_INDEX, attr, value->length, (char *)value->data);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user