summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-01 12:16:11 +0200
committerVolker Lendecke <vl@samba.org>2009-08-05 03:21:19 -0400
commit2d6589fb0243cb2b73615de1aaea38a3059c08ed (patch)
tree7238dbb326e9397d33c9f70b6cb68b1b31f6f399 /source3/winbindd/winbindd_proto.h
parent6cf3db91499ebd245b08997a319edf36cfee3365 (diff)
downloadsamba-2d6589fb0243cb2b73615de1aaea38a3059c08ed.tar.gz
samba-2d6589fb0243cb2b73615de1aaea38a3059c08ed.tar.bz2
samba-2d6589fb0243cb2b73615de1aaea38a3059c08ed.zip
s3:winbind: Make wcache_sid_to_name externally visible
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 f9ef776c5d..182534a1fa 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -149,6 +149,12 @@ bool wcache_invalidate_cache(void);
bool init_wcache(void);
bool initialize_winbindd_cache(void);
void close_winbindd_cache(void);
+NTSTATUS wcache_sid_to_name(struct winbindd_domain *domain,
+ const struct dom_sid *sid,
+ TALLOC_CTX *mem_ctx,
+ char **domain_name,
+ char **name,
+ enum lsa_SidType *type);
bool lookup_cached_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid,
char **domain_name, char **name,
enum lsa_SidType *type);