From cdc9931bb2f53272159b04ef7b1b057ce837ed4b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 19 Mar 2002 00:06:24 +0000 Subject: ops forgot this :-) (This used to be commit fdb88eb06af09171af2027a90ef6f3ac872beaee) --- source3/include/passdb.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3') diff --git a/source3/include/passdb.h b/source3/include/passdb.h index f17b043fb2..df44dce80c 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -50,6 +50,10 @@ typedef struct pdb_context BOOL (*pdb_delete_sam_account)(struct pdb_context *, SAM_ACCOUNT *username); + uid_t (*pdb_user_rid_to_uid)(struct pdb_context *, uint32 user_rid); + + uint32 (*pdb_uid_to_user_rid)(struct pdb_context *, uid_t uid); + void (*free_fn)(struct pdb_context **); TALLOC_CTX *mem_ctx; @@ -75,6 +79,10 @@ typedef struct pdb_methods BOOL (*update_sam_account)(struct pdb_context *, const SAM_ACCOUNT *sampass); BOOL (*delete_sam_account)(struct pdb_context *, const SAM_ACCOUNT *username); + + uid_t (*user_rid_to_uid)(struct pdb_context *, uint32 user_rid); + + uint32 (*uid_to_user_rid)(struct pdb_context *, uid_t uid); void *private_data; /* Private data of some kind */ -- cgit