diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-28 16:52:18 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-04-01 18:30:10 +0200 |
commit | 949a3823f2e24f5e465d7dc6256ee29de0914153 (patch) | |
tree | 6a7ae777c061b975570fbcda0c18ab1cc48ac700 /source3/nsswitch/libwbclient/wbclient.h | |
parent | b6737afbc7b7f4cbfe068510fd82ec96241b5a2b (diff) | |
download | samba-949a3823f2e24f5e465d7dc6256ee29de0914153.tar.gz samba-949a3823f2e24f5e465d7dc6256ee29de0914153.tar.bz2 samba-949a3823f2e24f5e465d7dc6256ee29de0914153.zip |
libwbclient: add wbcInterfaceDetails()
metze
(This used to be commit fee3806326b9ba214e35868271e6481c0c8b9c4b)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbclient.h')
-rw-r--r-- | source3/nsswitch/libwbclient/wbclient.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h index e5047af9f7..4a9a3b2809 100644 --- a/source3/nsswitch/libwbclient/wbclient.h +++ b/source3/nsswitch/libwbclient/wbclient.h @@ -51,6 +51,19 @@ typedef enum _wbcErrType wbcErr; const char *wbcErrorString(wbcErr error); +/** + * @brief Some useful details about the running winbindd + * + **/ +struct wbcInterfaceDetails { + uint32_t interface_version; + const char *winbind_version; + char winbind_separator; + const char *netbios_name; + const char *netbios_domain; + const char *dns_domain; +}; + /* * Data types used by the Winbind Client API */ @@ -277,6 +290,8 @@ wbcErr wbcStringToSid(const char *sid_string, wbcErr wbcPing(void); +wbcErr wbcInterfaceDetails(struct wbcInterfaceDetails **details); + /* * Name/SID conversion */ |