diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-03-04 14:16:57 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-03-04 14:16:57 +0100 |
commit | 5a5b50f3dd7d75214184f711c35a7536b64cbbe7 (patch) | |
tree | 489fa463e4e8a49aa485f4904fd8e7254206070d /source4/dsdb/samdb/ldb_modules/normalise.c | |
parent | f4f6f849402488e150e9c759e57bfced6e9dfaf0 (diff) | |
parent | 3ced8006a6a58b459fd68e9b02d7673b16b2df95 (diff) | |
download | samba-5a5b50f3dd7d75214184f711c35a7536b64cbbe7.tar.gz samba-5a5b50f3dd7d75214184f711c35a7536b64cbbe7.tar.bz2 samba-5a5b50f3dd7d75214184f711c35a7536b64cbbe7.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:
source/build/smb_build/makefile.pm
(This used to be commit 391fea450b2e6664fcd4e4419858997c6094cf3e)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/normalise.c')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/normalise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/normalise.c b/source4/dsdb/samdb/ldb_modules/normalise.c index 695393d4e8..a0eff43534 100644 --- a/source4/dsdb/samdb/ldb_modules/normalise.c +++ b/source4/dsdb/samdb/ldb_modules/normalise.c @@ -106,8 +106,8 @@ static int normalise_search_callback(struct ldb_context *ldb, void *context, str continue; } /* Look to see if this attributeSyntax is a DN */ - if ((strcmp(attribute->attributeSyntax_oid, "2.5.5.1") != 0) && - (strcmp(attribute->attributeSyntax_oid, "2.5.5.7") != 0)) { + if (!((strcmp(attribute->attributeSyntax_oid, "2.5.5.1") == 0) || + (strcmp(attribute->attributeSyntax_oid, "2.5.5.7") == 0))) { continue; } for (j = 0; j < ares->message->elements[i].num_values; j++) { |