From f8ec0f98072e6646e204b4c90f5f6ad250b5dd5d Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Thu, 28 Aug 2014 14:50:39 -0700 Subject: s3-winbindd: Document parameters in ads_cached_connection_reuse Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Aug 30 06:10:36 CEST 2014 on sn-devel-104 --- source3/winbindd/winbindd_ads.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c index 1986dec89e..cfda82c20a 100644 --- a/source3/winbindd/winbindd_ads.c +++ b/source3/winbindd/winbindd_ads.c @@ -73,6 +73,19 @@ static void ads_cached_connection_reuse(ADS_STRUCT **adsp) } } +/** + * @brief Establish a connection to a DC + * + * @param[out] adsp ADS_STRUCT that will be created + * @param[in] target_realm Realm of domain to connect to + * @param[in] target_dom_name 'workgroup' name of domain to connect to + * @param[in] ldap_server DNS name of server to connect to + * @param[in] password Our machine acount secret + * @param[in] auth_realm Realm of local domain for creating krb token + * @param[in] renewable Renewable ticket time + * + * @return ADS_STATUS + */ static ADS_STATUS ads_cached_connection_connect(ADS_STRUCT **adsp, const char *target_realm, const char *target_dom_name, -- cgit