summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/passdb.h1
-rw-r--r--source3/passdb/pdb_ads.c2
2 files changed, 2 insertions, 1 deletions
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)