diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-28 17:43:48 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-07-04 12:54:22 +0200 |
commit | 1c778aa19a345a813942e1502539b1503b2085bd (patch) | |
tree | 6b7202e84cb67c9b908b637bed4b18fe11fbf091 | |
parent | 077808f91610e70c2105b837a2704842191d1e3c (diff) | |
download | samba-1c778aa19a345a813942e1502539b1503b2085bd.tar.gz samba-1c778aa19a345a813942e1502539b1503b2085bd.tar.bz2 samba-1c778aa19a345a813942e1502539b1503b2085bd.zip |
Make pdb_ads return an additional flag
-rw-r--r-- | source3/include/passdb.h | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_ads.c | 2 |
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) |