diff options
-rw-r--r-- | source3/winbindd/idmap_nss.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_nss.c b/source3/winbindd/idmap_nss.c index 941b4d087d..a4ef61b37c 100644 --- a/source3/winbindd/idmap_nss.c +++ b/source3/winbindd/idmap_nss.c @@ -141,14 +141,13 @@ static NTSTATUS idmap_nss_sids_to_unixids(struct idmap_domain *dom, struct id_ma for (i = 0; ids[i]; i++) { struct group *gr; enum lsa_SidType type; - const char *dom_name = NULL; const char *name = NULL; bool ret; /* by default calls to winbindd are disabled the following call will not recurse so this is safe */ (void)winbind_on(); - ret = winbind_lookup_sid(ctx, ids[i]->sid, &dom_name, &name, &type); + ret = winbind_lookup_sid(ctx, ids[i]->sid, NULL, &name, &type); (void)winbind_off(); if (!ret) { |