summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-01 00:10:46 +0200
committerVolker Lendecke <vl@samba.org>2009-08-05 03:21:20 -0400
commitf6554611ab90aa113a7579ce3a9fef765c19d98c (patch)
treedf2d9d406b45eb776cfddc2f069625290f01157b /source3/winbindd/winbindd_proto.h
parent74b45ba46cbf58c1bf9ef89f5f88509065cd81d2 (diff)
downloadsamba-f6554611ab90aa113a7579ce3a9fef765c19d98c.tar.gz
samba-f6554611ab90aa113a7579ce3a9fef765c19d98c.tar.bz2
samba-f6554611ab90aa113a7579ce3a9fef765c19d98c.zip
s3:winbind: Make wcache_name_to_sid visible externally
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 9d4c09283a..e76e0cde1f 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -166,6 +166,11 @@ bool lookup_cached_name(TALLOC_CTX *mem_ctx,
void cache_name2sid(struct winbindd_domain *domain,
const char *domain_name, const char *name,
enum lsa_SidType type, const DOM_SID *sid);
+NTSTATUS wcache_name_to_sid(struct winbindd_domain *domain,
+ const char *domain_name,
+ const char *name,
+ struct dom_sid *sid,
+ enum lsa_SidType *type);
void wcache_flush_cache(void);
NTSTATUS wcache_count_cached_creds(struct winbindd_domain *domain, int *count);
NTSTATUS wcache_remove_oldest_cached_creds(struct winbindd_domain *domain, const DOM_SID *sid) ;