summaryrefslogtreecommitdiffstats
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
commitfdb88eb06af09171af2027a90ef6f3ac872beaee (patch)
tree2352dd68df1bec7d2d5f198c19773ceeda35c53c
parent9836af7cd623357feaec07bc49cfb78f0aa01fc3 (diff)
downloadsamba-fdb88eb06af09171af2027a90ef6f3ac872beaee.tar.gz
samba-fdb88eb06af09171af2027a90ef6f3ac872beaee.tar.xz
samba-fdb88eb06af09171af2027a90ef6f3ac872beaee.zip
ops forgot this :-)
-rw-r--r--source/include/passdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/passdb.h b/source/include/passdb.h
index f17b043fb27..df44dce80cf 100644
--- a/source/include/passdb.h
+++ b/source/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 */