diff options
-rw-r--r-- | source3/winbindd/idmap_tdb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index b80b8ef3a4..bd535c0141 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -149,7 +149,7 @@ static NTSTATUS idmap_tdb2_set_mapping_action(struct db_context *db, /* check wheter sid mapping is already present in db */ ret = dbwrap_fetch_bystring(db, tmp_ctx, state->ksidstr, &data); - if (!NT_STATUS_IS_OK(ret)) { + if (NT_STATUS_IS_OK(ret)) { ret = NT_STATUS_OBJECT_NAME_COLLISION; goto done; } |