mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s4:dsdb/schema: fix validation of DNs
ldb_dn_extended_filter() removes all but the listed components, I didn't noticed that when writting the code. Doing a ldb_dn_remove_extended_components(dn2) is wrong. This was hidden by some bugs in the ldb_dn code. metze
This commit is contained in:
parent
2caa2a045d
commit
4bad696f9e
@ -1742,7 +1742,6 @@ static WERROR dsdb_syntax_DN_validate_one_val(struct ldb_context *ldb,
|
||||
* one.
|
||||
*/
|
||||
ldb_dn_extended_filter(dn, extended_list);
|
||||
ldb_dn_remove_extended_components(dn2);
|
||||
|
||||
dn_str = ldb_dn_get_extended_linearized(tmp_ctx, dn, 0);
|
||||
if (dn_str == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user