Make pdb_ads return an additional flag
authorVolker Lendecke <vl@samba.org>
Sun, 28 Jun 2009 15:43:48 +0000 (17:43 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 4 Jul 2009 10:54:22 +0000 (12:54 +0200)
source3/include/passdb.h
source3/passdb/pdb_ads.c

index dadb2275d3a5d5e3e9db336ed5b61744bfdc484f..53ba899d31f3af1a2bea4879c995f8f6b1119671 100644 (file)
@@ -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 
index be4b4b26d8030fb1325009f5fbe6500b816afd75..f6cf06f1b26bc56829a72e3584be09c12854ac67 100644 (file)
@@ -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)