summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_util.c
Commit message (Collapse)AuthorAgeFilesLines
* nsswitch/libwbclient: explicitly mark all wbc* symbols as _PUBLIC_Stefan Metzmacher2021-11-301-0/+20
| | | | | | | | | | | | | | | Some private functions from wbclient_internal.h already leaked into the ABI. With hide_symbols=True we make sure this doesn't happen again. Having wbcRequestResponse[Priv]() as part of the ABI helps us in order to hide winbindd_[priv_]request_response() soon. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* nsswitch/libwbclient: clang: Fix Value stored to 'wbc_status' is never readNoel Power2019-07-111-1/+0
| | | | | | | | | | | | Fixes: nsswitch/libwbclient/wbc_util.c:123:3: warning: Value stored to 'wbc_status' is never read <--[clang] wbc_status = WBC_ERR_SUCCESS; ^ ~~~~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
* wbclient: Add wbcSetClientProcessName()Andreas Schneider2018-11-121-0/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* nsswitch: fix wbinfo -m --verbose trust type "Local"Ralph Boehme2018-03-021-3/+1
| | | | | | | | | | | | | | | Remove wrong "Local" strcmp(), there's another one, the correct one, a few lines below. Since commit 95e3307917b5731ab883ee5fce530c5b559b4934 WBC_DOMINFO_TRUSTTYPE_NONE, which corresponded to the string "None" in the winbindd response, is not used anymore. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13313 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Mar 2 05:49:18 CET 2018 on sn-devel-144
* libwbclient: add more trust typesRalph Boehme2018-01-131-1/+15
| | | | | | Prepare libwbclient for additional trust types and trust routing. Signed-off-by: Ralph Boehme <slow@samba.org>
* Add context versions of wbclient functionsMatthew Newton2015-03-101-29/+94
| | | | | | | | | | | To make the libwbclient library thread-safe, all functions that call through to wb_common winbindd_request_response need to have context that they can use. This commit adds all the necessary functions. Signed-off-by: Matthew Newton <matthew-git@newtoncomputing.co.uk> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libwbclient: Fix null check in process_domain_info_string().Andreas Schneider2012-12-211-5/+0
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* Clean up some const and other compiler warnings.Jeremy Allison2011-05-051-8/+8
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error)Volker Lendecke2011-03-271-1/+1
|
* libwbclient: CID 2199 -- NULL pointer returnVolker Lendecke2011-03-151-0/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 15 12:08:48 CET 2011 on sn-devel-104
* s3: Add wbinfo --dc-infoVolker Lendecke2011-01-191-0/+86
| | | | | | | | | | | | | | | wbinfo --dc-info prints the current DC name and IP address. This helps diagnosing problems that might happen when a later wbinfo --ping-dc fails. This patch started out by using the SAF and NBT cache entires, but those are relatively short-lived. So I decided to invent a new gencache entry with a very long timeout. We need to go via the gencache because when for some reason a winbind child process is stuck, we can't query it for the current DC it's connected to. This must eventually go away again when we have a fully async winbind. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 19 08:40:28 CET 2011 on sn-devel-104
* libwbclient: Correctly order the wbcAllocateMemory argsVolker Lendecke2010-11-271-6/+6
| | | | | | | In these cases, it does not make a functional difference. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Nov 27 19:56:02 CET 2010 on sn-devel-104
* libwbclient: Make wbcListTrusts not use tallocVolker Lendecke2010-04-191-28/+20
|
* libwbclient: Make wbc_create_domain_controller_info_ex not use tallocVolker Lendecke2010-04-191-23/+29
|
* libwbclient: Make wbcLookupDomainController not use tallocVolker Lendecke2010-04-191-6/+13
|
* libwbclient: Make wbcAddNamedBlob not use tallocVolker Lendecke2010-04-191-16/+49
|
* libwbclient: Make wbcResolveWinsByIP not use tallocVolker Lendecke2010-04-191-1/+1
|
* libwbclient: Make wbcResolveWinsByName not use tallocVolker Lendecke2010-04-191-1/+1
|
* libwbclient: Make wbcDomainInfo not use tallocVolker Lendecke2010-04-191-9/+12
|
* libwbclient: Make wbcInterfaceDetails not use tallocVolker Lendecke2010-04-191-10/+16
|
* libwbclient: Fix a memleak in wbcListTrustsVolker Lendecke2010-04-041-8/+3
|
* libwbclient: Fix a memleak in wbcListTrustsVolker Lendecke2010-04-041-0/+3
|
* libwbclient: Separate out the async functionsKai Blin2010-02-131-810/+1
|
* libwbclient: Add wbcInterfaceDetails_send/recvKai Blin2010-02-111-0/+218
|
* libwbclient: Add wbcDomainInfo_send/recv callsKai Blin2010-02-111-1/+147
|
* libwbclient: Add wbcDomainName_send/recv callKai Blin2010-02-111-0/+94
|
* libwbclient: Add wbcNetbiosName_send/recv callsKai Blin2010-02-111-0/+95
|
* libwbclient: Add async wbcInfo_send()/wbcInfo_recv() callsKai Blin2010-02-111-0/+99
|
* libwbclient: add wbcInterfaceVersion send/recv callsKai Blin2010-02-111-0/+92
|
* libwbclient: Add async wbcPing_send/_recvKai Blin2010-02-111-1/+79
|
* libwbclient: Remove a pointless checkVolker Lendecke2010-01-031-1/+1
| | | | We have dereferenced "blobs" before
* libwbclient: fix wbcLookupDomainController().Günther Deschner2009-10-191-2/+3
| | | | | | Found by WINBIND-WBCLIENT torture test. Guenther
* s3:libwbclient: Fix bug 6349, initialize domain info structVolker Lendecke2009-08-301-0/+2
|
* s3:winbind: Fix a potential segfault in libwbclientVolker Lendecke2009-08-161-1/+1
|
* libwbclient: Attempt to fix build on AIXKai Blin2009-06-041-0/+1
|
* nsswitch: Move source3 files to top level dir.Kai Blin2008-12-161-0/+672
Don't move source4 files yet to not confuse git's rename tracking too much.