summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@us.ibm.com>2013-02-21 12:31:37 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-03-09 06:30:22 +0100
commitbaf9b78d47079b81cf33682ee481cf6e30ed89e9 (patch)
treec536ff29100805495b2bab6e8c9a3911a03a617e /source3/winbindd/winbindd_proto.h
parent0c4e467c1cc661552bfd6745825e2106ec8279d7 (diff)
downloadsamba-baf9b78d47079b81cf33682ee481cf6e30ed89e9.tar.gz
samba-baf9b78d47079b81cf33682ee481cf6e30ed89e9.tar.xz
samba-baf9b78d47079b81cf33682ee481cf6e30ed89e9.zip
s3-winbindd: Use common helper function for connecting to ADS
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 0d75791020..8bd7a392f2 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -895,5 +895,12 @@ NTSTATUS open_internal_samr_conn(TALLOC_CTX *mem_ctx,
/* The following definitions come from winbindd/winbindd_ads.c */
#define WINBIND_CCACHE_NAME "MEMORY:winbind_ccache"
void ads_cached_connection_reuse(ADS_STRUCT **ads);
+ADS_STATUS ads_cached_connection_connect(ADS_STRUCT **adsp,
+ const char *dom_name_alt,
+ const char *dom_name,
+ const char *ldap_server,
+ char *password,
+ char *realm,
+ time_t renewable);
#endif /* _WINBINDD_PROTO_H_ */