diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-28 14:11:45 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-28 14:11:45 +0100 |
commit | 76d6c43ef28ef06d8b2e603da0fa8e5c6faf5fdd (patch) | |
tree | 69042d3212d9046f65fe3123fb0f1b6b46dbfd8b /source4/lib | |
parent | 517bf7aa4f77ac0ef421f960f5610b185f6e598e (diff) | |
parent | c3ce0a0b95b6051a356c72424c2d62b77a0e81df (diff) | |
download | samba-76d6c43ef28ef06d8b2e603da0fa8e5c6faf5fdd.tar.gz samba-76d6c43ef28ef06d8b2e603da0fa8e5c6faf5fdd.tar.bz2 samba-76d6c43ef28ef06d8b2e603da0fa8e5c6faf5fdd.zip |
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 84b677285250d9b9a1120fcfd6e4bbbb8f939fe8)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/modules/rdn_name.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/rdn_name.c b/source4/lib/ldb/modules/rdn_name.c index c4de8e8da8..65c044c0f4 100644 --- a/source4/lib/ldb/modules/rdn_name.c +++ b/source4/lib/ldb/modules/rdn_name.c @@ -119,7 +119,8 @@ static int rdn_name_add(struct ldb_module *module, struct ldb_request *req) "RDN mismatch on %s: %s (%s)", ldb_dn_get_linearized(msg->dn), rdn_name, rdn_val.data); talloc_free(down_req); - return LDB_ERR_OPERATIONS_ERROR; + /* Match AD's error here */ + return LDB_ERR_INVALID_DN_SYNTAX; } } |