From a3ef79b6cf1abe4e99e1c1f6903892da23ca11e4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 8 Mar 2011 20:39:40 +0100 Subject: s3: "dom_name" is not needed in idmap_nss_sids_to_unixids --- source3/winbindd/idmap_nss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/winbindd') 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) { -- cgit