diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-11 17:42:58 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-11 17:53:24 +0200 |
commit | b6dcc24987c5c8790502c70687cb0c302333d12c (patch) | |
tree | 48b2541962a0affe250090180e73b169d48a19e9 /source3/include | |
parent | ebb2d70a607cf33f3d2084d715c2d9d4329f2e7b (diff) | |
download | samba-b6dcc24987c5c8790502c70687cb0c302333d12c.tar.gz samba-b6dcc24987c5c8790502c70687cb0c302333d12c.tar.bz2 samba-b6dcc24987c5c8790502c70687cb0c302333d12c.zip |
Revert "Convert idmap_cache to gencache"
This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2.
(This used to be commit cc536677735ecc318cbd2176ce53b124f44d85a0)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 43420985a3..278a42a974 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -10494,13 +10494,12 @@ char *idmap_fetch_secret(const char *backend, bool alloc, /* The following definitions come from winbindd/idmap_cache.c */ -NTSTATUS idmap_cache_set(const struct id_map *id); -NTSTATUS idmap_cache_set_negative_sid(const struct id_map *id); -NTSTATUS idmap_cache_set_negative_id(const struct id_map *id); -bool idmap_cache_map_sid(const struct dom_sid *sid, struct unixid *xid, - bool *mapped, bool *expired); -bool idmap_cache_map_id(const struct unixid *xid, struct dom_sid *psid, - bool *mapped, bool *expired); +struct idmap_cache_ctx *idmap_cache_init(TALLOC_CTX *memctx); +NTSTATUS idmap_cache_set(struct idmap_cache_ctx *cache, const struct id_map *id); +NTSTATUS idmap_cache_set_negative_sid(struct idmap_cache_ctx *cache, const struct id_map *id); +NTSTATUS idmap_cache_set_negative_id(struct idmap_cache_ctx *cache, const struct id_map *id); +NTSTATUS idmap_cache_map_sid(struct idmap_cache_ctx *cache, struct id_map *id); +NTSTATUS idmap_cache_map_id(struct idmap_cache_ctx *cache, struct id_map *id); /* The following definitions come from winbindd/idmap_nss.c */ |