diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-02-11 18:35:58 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-02-13 10:44:52 +0100 |
commit | cedfcaec0c36b58a88eaaa60283a807e0a8a71fc (patch) | |
tree | 6cc9cecaa7d7c5b007cd8366b9f2343c5f937b72 /source3/winbindd | |
parent | 29bf356f2686a1aed25dfadc82df7f96d0660836 (diff) | |
download | samba-cedfcaec0c36b58a88eaaa60283a807e0a8a71fc.tar.gz samba-cedfcaec0c36b58a88eaaa60283a807e0a8a71fc.tar.bz2 samba-cedfcaec0c36b58a88eaaa60283a807e0a8a71fc.zip |
nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
metze
(This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap_nss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_nss.c b/source3/winbindd/idmap_nss.c index 46c24d7fcb..e4acd9ce65 100644 --- a/source3/winbindd/idmap_nss.c +++ b/source3/winbindd/idmap_nss.c @@ -87,10 +87,10 @@ static NTSTATUS idmap_nss_unixids_to_sids(struct idmap_domain *dom, struct id_ma /* by default calls to winbindd are disabled the following call will not recurse so this is safe */ - winbind_on(); + (void)winbind_on(); /* Lookup name from PDC using lsa_lookup_names() */ ret = winbind_lookup_name(dom->name, name, ids[i]->sid, &type); - winbind_off(); + (void)winbind_off(); if (!ret) { /* TODO: how do we know if the name is really not mapped, @@ -153,9 +153,9 @@ static NTSTATUS idmap_nss_sids_to_unixids(struct idmap_domain *dom, struct id_ma /* by default calls to winbindd are disabled the following call will not recurse so this is safe */ - winbind_on(); + (void)winbind_on(); ret = winbind_lookup_sid(ctx, ids[i]->sid, &dom_name, &name, &type); - winbind_off(); + (void)winbind_off(); if (!ret) { /* TODO: how do we know if the name is really not mapped, |