diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-15 17:38:47 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-15 18:58:40 +1100 |
commit | 2908f21c65ad8385f645cd841a25fe0f8f45feb0 (patch) | |
tree | 798100a4840f5c7ca6ec10037460db4cbe213ed2 | |
parent | 4694b4677ac58cd99d005d33aaf8c1b154e63b29 (diff) | |
download | samba-2908f21c65ad8385f645cd841a25fe0f8f45feb0.tar.gz samba-2908f21c65ad8385f645cd841a25fe0f8f45feb0.tar.bz2 samba-2908f21c65ad8385f645cd841a25fe0f8f45feb0.zip |
s4-drs: use a permissive modify in addentry
It is not an error if entries already exist.
-rw-r--r-- | source4/rpc_server/drsuapi/addentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/addentry.c b/source4/rpc_server/drsuapi/addentry.c index f63a96740f..b1c361da57 100644 --- a/source4/rpc_server/drsuapi/addentry.c +++ b/source4/rpc_server/drsuapi/addentry.c @@ -128,7 +128,7 @@ static WERROR drsuapi_add_SPNs(struct drsuapi_bind_state *b_state, return WERR_NOMEM; } - ret = ldb_modify(b_state->sam_ctx, msg); + ret = dsdb_modify_permissive(b_state->sam_ctx, msg); if (ret != LDB_SUCCESS) { DEBUG(0,(__location__ ": Failed to add SPNs - %s\n", ldb_errstring(b_state->sam_ctx))); |