summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-03-19 00:06:24 +0000
committerSimo Sorce <idra@samba.org>2002-03-19 00:06:24 +0000
commitcdc9931bb2f53272159b04ef7b1b057ce837ed4b (patch)
tree8a0f102c1848a2338f5018c6f55a9febc3f82efc /source3/include
parent32334bc6553c25b706e60a321f9c16f8931f94c1 (diff)
downloadsamba-cdc9931bb2f53272159b04ef7b1b057ce837ed4b.tar.gz
samba-cdc9931bb2f53272159b04ef7b1b057ce837ed4b.tar.bz2
samba-cdc9931bb2f53272159b04ef7b1b057ce837ed4b.zip
ops forgot this :-)
(This used to be commit fdb88eb06af09171af2027a90ef6f3ac872beaee)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/passdb.h8
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 */