diff options
author | Simo Sorce <idra@samba.org> | 2002-03-19 00:06:24 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-03-19 00:06:24 +0000 |
commit | cdc9931bb2f53272159b04ef7b1b057ce837ed4b (patch) | |
tree | 8a0f102c1848a2338f5018c6f55a9febc3f82efc | |
parent | 32334bc6553c25b706e60a321f9c16f8931f94c1 (diff) | |
download | samba-cdc9931bb2f53272159b04ef7b1b057ce837ed4b.tar.gz samba-cdc9931bb2f53272159b04ef7b1b057ce837ed4b.tar.bz2 samba-cdc9931bb2f53272159b04ef7b1b057ce837ed4b.zip |
ops forgot this :-)
(This used to be commit fdb88eb06af09171af2027a90ef6f3ac872beaee)
-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 */ |