summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorChristian Ambach <christian.ambach@de.ibm.com>2010-10-29 15:53:20 +0200
committerVolker Lendecke <vl@samba.org>2010-11-08 13:39:51 +0100
commit51ddddfa9f832d1a9aa207c7a13393e3c11b5dc3 (patch)
tree2cb73c5635738544a45f82dfb93d666a336f3748 /source3/winbindd/winbindd_proto.h
parent69155e41037d42ca58efa7ef749cb05654ac27e2 (diff)
downloadsamba-51ddddfa9f832d1a9aa207c7a13393e3c11b5dc3.tar.gz
s3:winbind add wcache_tdc_fetch_domainbysid
add a function to lookup a domain in the winbind cache by domain SID
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index ecdbdfe6846..52e6bfede0f 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -134,6 +134,7 @@ bool winbindd_cache_validate_and_initialize(void);
bool wcache_tdc_fetch_list( struct winbindd_tdc_domain **domains, size_t *num_domains );
bool wcache_tdc_add_domain( struct winbindd_domain *domain );
struct winbindd_tdc_domain * wcache_tdc_fetch_domain( TALLOC_CTX *ctx, const char *name );
+struct winbindd_tdc_domain* wcache_tdc_fetch_domainbysid(TALLOC_CTX *ctx, const struct dom_sid *sid);
void wcache_tdc_clear( void );
#ifdef HAVE_ADS
struct ads_struct;