diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/passdb.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 */ |