summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient/wbclient.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-04-16 23:35:12 +0200
committerStefan Metzmacher <metze@samba.org>2008-04-17 00:31:59 +0200
commit2d0a36f0a5f45760927f05e514a9e63ea5d43785 (patch)
tree4a5f8d45700f2037de65296d656e7e5a427bcde5 /source3/nsswitch/libwbclient/wbclient.h
parent31b3a1fc3ff884bf311db3ffe5a85c1ef9dac344 (diff)
downloadsamba-2d0a36f0a5f45760927f05e514a9e63ea5d43785.tar.gz
samba-2d0a36f0a5f45760927f05e514a9e63ea5d43785.tar.bz2
samba-2d0a36f0a5f45760927f05e514a9e63ea5d43785.zip
libwbclient: add wbcCheckTrustCredentials()
This only accepts NULL as domain for now, because winbindd doesn't support checking trust passwords as a domain controller. metze (This used to be commit c084ccd70f42ce29ce24565969a9f440dde254e1)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbclient.h')
-rw-r--r--source3/nsswitch/libwbclient/wbclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h
index 1303057b84..b36b5bbe88 100644
--- a/source3/nsswitch/libwbclient/wbclient.h
+++ b/source3/nsswitch/libwbclient/wbclient.h
@@ -407,4 +407,10 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
wbcErr wbcResolveWinsByName(const char *name, const char **ip);
wbcErr wbcResolveWinsByIP(const char *ip, const char **name);
+/*
+ * Trusted domain functions
+ */
+wbcErr wbcCheckTrustCredentials(const char *domain,
+ struct wbcAuthErrorInfo **error);
+
#endif /* _WBCLIENT_H */