From: Volker Lendecke Date: Sun, 28 Jun 2009 15:43:48 +0000 (+0200) Subject: Make pdb_ads return an additional flag X-Git-Tag: talloc-2.0.0~771 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1c778aa19a345a813942e1502539b1503b2085bd;p=thirdparty%2Fsamba.git Make pdb_ads return an additional flag --- diff --git a/source3/include/passdb.h b/source3/include/passdb.h index dadb2275d3a..53ba899d31f 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 be4b4b26d80..f6cf06f1b26 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)