mirror of
https://github.com/samba-team/samba.git
synced 2025-11-30 20:23:49 +03:00
r9387: regedit uses "New Key #nn" for newly created keys, which conflicts with the stricter
DN rules in ldb. Escape the DN components to cope. Simo, sorry for making a change in ldb_dn.c while you have changes pending. Please feel free to revert these and switch reg_backend_ldb.c to use the new dn construction code.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
ae42976590
commit
136ecf5cb2
@@ -342,6 +342,7 @@ int ldb_attrib_add_handlers(struct ldb_context *ldb,
|
||||
|
||||
int ldb_dn_cmp(struct ldb_context *ldb, const char *dn1, const char *dn2);
|
||||
int ldb_attr_cmp(const char *dn1, const char *dn2);
|
||||
char *ldb_dn_escape_value(void *mem_ctx, struct ldb_val value);
|
||||
|
||||
/* case-fold a DN */
|
||||
char *ldb_dn_fold(void * mem_ctx,
|
||||
|
||||
Reference in New Issue
Block a user