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:28 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-03-09 06:30:22 +0100
commit0c4e467c1cc661552bfd6745825e2106ec8279d7 (patch)
treef2b475fa8aa54f01e3da0441efb21f813067c339 /source3/winbindd/winbindd_proto.h
parentc07c167edb71568ab18f016346e60803d1195d42 (diff)
downloadsamba-0c4e467c1cc661552bfd6745825e2106ec8279d7.tar.gz
samba-0c4e467c1cc661552bfd6745825e2106ec8279d7.tar.xz
samba-0c4e467c1cc661552bfd6745825e2106ec8279d7.zip
s3-winbindd: Move code for verifying ADS connection to common helper function
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 00b7c321949..0d757910206 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -23,6 +23,8 @@
#ifndef _WINBINDD_PROTO_H_
#define _WINBINDD_PROTO_H_
+#include "ads.h"
+
/* The following definitions come from winbindd/winbindd.c */
struct messaging_context *winbind_messaging_context(void);
void request_error(struct winbindd_cli_state *state);
@@ -890,4 +892,8 @@ NTSTATUS open_internal_samr_conn(TALLOC_CTX *mem_ctx,
struct rpc_pipe_client **samr_pipe,
struct policy_handle *samr_domain_hnd);
+/* The following definitions come from winbindd/winbindd_ads.c */
+#define WINBIND_CCACHE_NAME "MEMORY:winbind_ccache"
+void ads_cached_connection_reuse(ADS_STRUCT **ads);
+
#endif /* _WINBINDD_PROTO_H_ */