diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-08 20:39:40 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-08 21:04:32 +0100 |
commit | a3ef79b6cf1abe4e99e1c1f6903892da23ca11e4 (patch) | |
tree | e32d6d9a5cbf3ed5f72a3db3a53305f8ac275508 | |
parent | 8cda1d9797cba02c3db8f996581bb11ffa0d02fa (diff) | |
download | samba-a3ef79b6cf1abe4e99e1c1f6903892da23ca11e4.tar.gz samba-a3ef79b6cf1abe4e99e1c1f6903892da23ca11e4.tar.bz2 samba-a3ef79b6cf1abe4e99e1c1f6903892da23ca11e4.zip |
s3: "dom_name" is not needed in idmap_nss_sids_to_unixids
-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) { |