diff options
author | Gerald Carter <jerry@samba.org> | 2003-04-29 05:32:00 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-04-29 05:32:00 +0000 |
commit | 97a16d0cae72020a240734ac20a978489c458673 (patch) | |
tree | fcc23e2285c2dc14b0a440245bc25f06db77f728 /source3/groupdb | |
parent | f96f82da051cb123cff3136d895d4b8bda1fedc4 (diff) | |
download | samba-97a16d0cae72020a240734ac20a978489c458673.tar.gz samba-97a16d0cae72020a240734ac20a978489c458673.tar.bz2 samba-97a16d0cae72020a240734ac20a978489c458673.zip |
don't implement any group mapping functions in the guest sam module
(This used to be commit a4056e2cae21e1f7e1aac1414bfa4158947fbfc7)
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index 61c0dfb4b8..b718f42f93 100644 --- a/source3/groupdb/mapping.c +++ b/source3/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; +} + |