diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-28 17:36:12 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-28 22:13:50 +0200 |
commit | 711544d4943a40649b6c590f8ee003093081889a (patch) | |
tree | afee8fcd95e3a9b3844dccd9cb11b2418cf67fd8 /source3/include/passdb.h | |
parent | 325a58a6532e2a9bc7b8e21d55c9b1ccfb879bf9 (diff) | |
download | samba-711544d4943a40649b6c590f8ee003093081889a.tar.gz samba-711544d4943a40649b6c590f8ee003093081889a.tar.xz samba-711544d4943a40649b6c590f8ee003093081889a.zip |
Turn the pdb_rid_algorithm into a capabilities call that returns flags
Diffstat (limited to 'source3/include/passdb.h')
-rw-r--r-- | source3/include/passdb.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index d67c2842a6f..dadb2275d3a 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -197,6 +197,8 @@ struct pdb_search { void (*search_end)(struct pdb_search *search); }; +#define PDB_CAP_STORE_RIDS 0x0001 + /***************************************************************** Functions to be implemented by the new (v2) passdb API ****************************************************************/ @@ -212,6 +214,7 @@ struct pdb_search { * enum lsa_SidType rather than uint32. * Changed to 16 for access to the trusted domain passwords (obnox). * Changed to 17, the sampwent interface is gone. + * Changed to 18, pdb_rid_algorithm -> pdb_capabilities */ #define PASSDB_INTERFACE_VERSION 17 @@ -361,7 +364,7 @@ struct pdb_methods bool (*sid_to_id)(struct pdb_methods *methods, const DOM_SID *sid, union unid_t *id, enum lsa_SidType *type); - bool (*rid_algorithm)(struct pdb_methods *methods); + uint32_t (*capabilities)(struct pdb_methods *methods); bool (*new_rid)(struct pdb_methods *methods, uint32 *rid); |