summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-06-16 16:59:26 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:42 +0200
commit1cd1dff7569fbcd2ab02066764933fc50f0dc966 (patch)
tree0161af2a9706946a5b9c7887ef9af23291eb1ed7 /source3/include
parent212627e9c0d62cf36f5f6101f0226f76bcee3881 (diff)
downloadsamba-1cd1dff7569fbcd2ab02066764933fc50f0dc966.tar.gz
samba-1cd1dff7569fbcd2ab02066764933fc50f0dc966.tar.bz2
samba-1cd1dff7569fbcd2ab02066764933fc50f0dc966.zip
s3:idmap: add idmap_unix_id_is_in_range() for checking an id against an idmap range
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f7d5e8f8f5..bc55eaff07 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6051,6 +6051,7 @@ NTSTATUS idmap_uid_to_sid(const char *domname, struct dom_sid *sid, uid_t uid);
NTSTATUS idmap_gid_to_sid(const char *domname, struct dom_sid *sid, gid_t gid);
NTSTATUS idmap_sid_to_uid(const char *dom_name, struct dom_sid *sid, uid_t *uid);
NTSTATUS idmap_sid_to_gid(const char *domname, struct dom_sid *sid, gid_t *gid);
+bool idmap_unix_id_is_in_range(uint32_t id, struct idmap_domain *dom);
/* The following definitions come from winbindd/nss_info.c */