From 1c778aa19a345a813942e1502539b1503b2085bd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 28 Jun 2009 17:43:48 +0200 Subject: Make pdb_ads return an additional flag --- source3/include/passdb.h | 1 + source3/passdb/pdb_ads.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/include/passdb.h b/source3/include/passdb.h index dadb2275d3..53ba899d31 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -198,6 +198,7 @@ struct pdb_search { }; #define PDB_CAP_STORE_RIDS 0x0001 +#define PDB_CAP_ADS 0x0002 /***************************************************************** Functions to be implemented by the new (v2) passdb API diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index be4b4b26d8..f6cf06f1b2 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -1922,7 +1922,7 @@ static bool pdb_ads_sid_to_id(struct pdb_methods *m, const DOM_SID *sid, static uint32_t pdb_ads_capabilities(struct pdb_methods *m) { - return PDB_CAP_STORE_RIDS; + return PDB_CAP_STORE_RIDS | PDB_CAP_ADS; } static bool pdb_ads_new_rid(struct pdb_methods *m, uint32 *rid) -- cgit