summaryrefslogtreecommitdiffstats
path: root/source/groupdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-04-29 05:31:06 +0000
committerGerald Carter <jerry@samba.org>2003-04-29 05:31:06 +0000
commita354bf4b7eadec3e6aa5f5547b58c7856fda3471 (patch)
tree5f1ea8ddebe77bb3cd9be870c78498769beeddab /source/groupdb
parentc0807e21999ec718d722fc0be6b3353c9369db04 (diff)
downloadsamba-a354bf4b7eadec3e6aa5f5547b58c7856fda3471.tar.gz
samba-a354bf4b7eadec3e6aa5f5547b58c7856fda3471.tar.xz
samba-a354bf4b7eadec3e6aa5f5547b58c7856fda3471.zip
don't implement any group mapping functions in the guest sam module
Diffstat (limited to 'source/groupdb')
-rw-r--r--source/groupdb/mapping.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c
index 61c0dfb4b8e..b718f42f93a 100644
--- a/source/groupdb/mapping.c
+++ b/source/groupdb/mapping.c
@@ -1331,3 +1331,51 @@ NTSTATUS pdb_default_enum_group_mapping(struct pdb_methods *methods,
NT_STATUS_OK : NT_STATUS_UNSUCCESSFUL;
}
+/**********************************************************************
+ no ops for passdb backends that don't implement group mapping
+ *********************************************************************/
+
+NTSTATUS pdb_nop_getgrsid(struct pdb_methods *methods, GROUP_MAP *map,
+ DOM_SID sid, BOOL with_priv)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+
+NTSTATUS pdb_nop_getgrgid(struct pdb_methods *methods, GROUP_MAP *map,
+ gid_t gid, BOOL with_priv)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+
+NTSTATUS pdb_nop_getgrnam(struct pdb_methods *methods, GROUP_MAP *map,
+ char *name, BOOL with_priv)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+
+NTSTATUS pdb_nop_add_group_mapping_entry(struct pdb_methods *methods,
+ GROUP_MAP *map)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+
+NTSTATUS pdb_nop_update_group_mapping_entry(struct pdb_methods *methods,
+ GROUP_MAP *map)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+
+NTSTATUS pdb_nop_delete_group_mapping_entry(struct pdb_methods *methods,
+ DOM_SID sid)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+
+NTSTATUS pdb_nop_enum_group_mapping(struct pdb_methods *methods,
+ enum SID_NAME_USE sid_name_use,
+ GROUP_MAP **rmap, int *num_entries,
+ BOOL unix_only, BOOL with_priv)
+{
+ return NT_STATUS_UNSUCCESSFUL;
+}
+