mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r344: fixed deletion of index records
(This used to be commit 246f17cd4a
)
This commit is contained in:
parent
07882b5460
commit
803b5d8aa4
@ -731,7 +731,7 @@ int ltdb_index_del(struct ldb_context *ldb, const struct ldb_message *msg)
|
||||
*/
|
||||
static int delete_index(struct tdb_context *tdb, TDB_DATA key, TDB_DATA data, void *state)
|
||||
{
|
||||
if (strncmp(key.dptr, "@INDEX:", 7) == 0) {
|
||||
if (strncmp(key.dptr, "DN=@INDEX:", 10) == 0) {
|
||||
return tdb_delete(tdb, key);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user