summaryrefslogtreecommitdiff
path: root/source3/lib/idmap_cache.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-02-18 14:47:03 +0100
committerMichael Adam <obnox@samba.org>2011-02-28 12:58:43 +0100
commit42a4a9cbc339ffcafc23969c03e02050e1394dfb (patch)
treecaad2563d6091878d8f61d9ec972bec072bee2b6 /source3/lib/idmap_cache.h
parent6710561c273643af27c6f06a3fe7bacdb4a2f95e (diff)
downloadsamba-42a4a9cbc339ffcafc23969c03e02050e1394dfb.tar.gz
samba-42a4a9cbc339ffcafc23969c03e02050e1394dfb.tar.bz2
samba-42a4a9cbc339ffcafc23969c03e02050e1394dfb.zip
s3: add functions to remove entries from idmap cache
Diffstat (limited to 'source3/lib/idmap_cache.h')
-rw-r--r--source3/lib/idmap_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/idmap_cache.h b/source3/lib/idmap_cache.h
index f511780672..af2ba82bf8 100644
--- a/source3/lib/idmap_cache.h
+++ b/source3/lib/idmap_cache.h
@@ -8,3 +8,7 @@ bool idmap_cache_find_sid2gid(const struct dom_sid *sid, gid_t *pgid,
bool *expired);
bool idmap_cache_find_gid2sid(gid_t gid, struct dom_sid *sid, bool *expired);
void idmap_cache_set_sid2gid(const struct dom_sid *sid, gid_t gid);
+
+bool idmap_cache_del_uid(uid_t uid);
+bool idmap_cache_del_gid(gid_t gid);
+bool idmap_cache_del_sid(const struct dom_sid *sid);