diff options
author | Christof Schmitt <cs@samba.org> | 2014-08-28 14:50:39 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-08-30 06:10:36 +0200 |
commit | f8ec0f98072e6646e204b4c90f5f6ad250b5dd5d (patch) | |
tree | c11be93ba91ce691378b9c1c537d3a40991b6cfd | |
parent | b20fce84fa12de899616726d238a85e21a58aa0b (diff) | |
download | samba-f8ec0f98072e6646e204b4c90f5f6ad250b5dd5d.tar.gz samba-f8ec0f98072e6646e204b4c90f5f6ad250b5dd5d.tar.xz samba-f8ec0f98072e6646e204b4c90f5f6ad250b5dd5d.zip |
s3-winbindd: Document parameters in ads_cached_connection_reuse
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Aug 30 06:10:36 CEST 2014 on sn-devel-104
-rw-r--r-- | source3/winbindd/winbindd_ads.c | 13 |
1 files changed, 13 insertions, 0 deletions
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, |