diff options
Diffstat (limited to 'source3/winbindd/idmap_tdb.c')
-rw-r--r-- | source3/winbindd/idmap_tdb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c index 189b088809..8bfe751a8b 100644 --- a/source3/winbindd/idmap_tdb.c +++ b/source3/winbindd/idmap_tdb.c @@ -97,8 +97,7 @@ static int convert_fn(struct db_record *rec, void *private_data) rid = atoi(p); - sid_copy(&sid, &domain->sid); - sid_append_rid(&sid, rid); + sid_compose(&sid, &domain->sid, rid); sid_to_fstring(keystr, &sid); key2 = string_term_tdb_data(keystr); |