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/passdb | |
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/passdb')
-rw-r--r-- | source3/passdb/pdb_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index fbba8bcaee..cd34c89bfc 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -1349,7 +1349,7 @@ static bool get_memberuids(TALLOC_CTX *mem_ctx, gid_t gid, uid_t **pp_uids, size /* We only look at our own sam, so don't care about imported stuff */ winbind_env = winbind_env_set(); - winbind_off(); + (void)winbind_off(); if ((grp = getgrgid(gid)) == NULL) { /* allow winbindd lookups, but only if they weren't already disabled */ @@ -1385,7 +1385,7 @@ static bool get_memberuids(TALLOC_CTX *mem_ctx, gid_t gid, uid_t **pp_uids, size /* allow winbindd lookups, but only if they weren't already disabled */ if (!winbind_env) { - winbind_on(); + (void)winbind_on(); } return ret; |