mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s4-drs: use a permissive modify in addentry
It is not an error if entries already exist.
This commit is contained in:
parent
4694b4677a
commit
2908f21c65
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user