r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as an
[obnox/samba/samba-obnox.git] / source3 / include / passdb.h
index 35bb93aa31cc63b0e70fa7087b4003959e121e3d..fa3a3bdb3ddac0c5694fce4194347ec3cbda3e15 100644 (file)
@@ -244,7 +244,7 @@ struct pdb_search {
  * enum SID_NAME_USE rather than uint32.
  */
 
-#define PASSDB_INTERFACE_VERSION 14
+#define PASSDB_INTERFACE_VERSION 15
 
 struct pdb_methods 
 {
@@ -277,7 +277,8 @@ struct pdb_methods
        
        NTSTATUS (*update_login_attempts)(struct pdb_methods *methods, struct samu *sam_acct, BOOL success);
 
-       NTSTATUS (*getgrsid)(struct pdb_methods *methods, GROUP_MAP *map, DOM_SID sid);
+       NTSTATUS (*getgrsid)(struct pdb_methods *methods, GROUP_MAP *map,
+                            const DOM_SID *sid);
 
        NTSTATUS (*getgrgid)(struct pdb_methods *methods, GROUP_MAP *map, gid_t gid);