diff options
author | Simo Sorce <idra@samba.org> | 2003-10-13 21:26:10 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2003-10-13 21:26:10 +0000 |
commit | 5733f731a911478492315af288c1a674ec038452 (patch) | |
tree | b42248f3a4780ae663ee37d465cb5e9fa89bb224 /source3/passdb | |
parent | 0bb70fe0b43fa9e9615e405b12c2adbb4ff04594 (diff) | |
download | samba-5733f731a911478492315af288c1a674ec038452.tar.gz samba-5733f731a911478492315af288c1a674ec038452.tar.bz2 samba-5733f731a911478492315af288c1a674ec038452.zip |
So here it is a non-intrusive patch with my latest work on gums (the
laternative to the current passdb).
Currently it is run through a comatibility module in the passdb layer, with
a subset of the functionality it may provide.
It is still work in progress, but as someone asked me about it, and as it
should make no difference to the normal code, I tought it was a good idea to
put it into.
It adds a dependency on perl. I know it is not very nice, but I'm sure we
will work out a solution for that.
As always blame me if I break something, but try to fix yourself, as I am
busy-busy-busy :-)
Simo.
(This used to be commit 7b3c94b5cfc1a9ceb430613353a937345f2eda74)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/pdb_guest.c | 15 | ||||
-rw-r--r-- | source3/passdb/pdb_xml.c | 18 |
2 files changed, 26 insertions, 7 deletions
diff --git a/source3/passdb/pdb_guest.c b/source3/passdb/pdb_guest.c index fa29657edc..3cd6efb38a 100644 --- a/source3/passdb/pdb_guest.c +++ b/source3/passdb/pdb_guest.c @@ -141,6 +141,21 @@ NTSTATUS pdb_init_guestsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, c (*pdb_method)->delete_group_mapping_entry = pdb_nop_delete_group_mapping_entry; (*pdb_method)->enum_group_mapping = pdb_nop_enum_group_mapping; + /* we do not handle groups in guest backend */ +/* FIXME + (*pdb_method)->get_group_info_by_sid = pdb_nop_get_group_info_by_sid; + (*pdb_method)->get_group_list = pdb_nop_get_group_list; + (*pdb_method)->get_group_sids = pdb_nop_get_group_sids; + (*pdb_method)->add_group = pdb_nop_add_group; + (*pdb_method)->update_group = pdb_nop_update_group; + (*pdb_method)->delete_group = pdb_nop_delete_group; + (*pdb_method)->add_sid_to_group = pdb_nop_add_sid_to_group; + (*pdb_method)->remove_sid_from_group = pdb_nop_remove_sid_from_group; + (*pdb_method)->get_group_info_by_name = pdb_nop_get_group_info_by_name; + (*pdb_method)->get_group_info_by_nt_name = pdb_nop_get_group_info_by_nt_name; + (*pdb_method)->get_group_uids = pdb_nop_get_group_uids; +*/ + /* There's not very much to initialise here */ return NT_STATUS_OK; diff --git a/source3/passdb/pdb_xml.c b/source3/passdb/pdb_xml.c index 29922bca4f..19998a6655 100644 --- a/source3/passdb/pdb_xml.c +++ b/source3/passdb/pdb_xml.c @@ -540,13 +540,17 @@ static NTSTATUS xmlsam_init(PDB_CONTEXT * pdb_context, PDB_METHODS ** pdb_method (*pdb_method)->getsampwsid = NULL; (*pdb_method)->update_sam_account = NULL; (*pdb_method)->delete_sam_account = NULL; - (*pdb_method)->getgrsid = NULL; - (*pdb_method)->getgrgid = NULL; - (*pdb_method)->getgrnam = NULL; - (*pdb_method)->add_group_mapping_entry = NULL; - (*pdb_method)->update_group_mapping_entry = NULL; - (*pdb_method)->delete_group_mapping_entry = NULL; - (*pdb_method)->enum_group_mapping = NULL; + (*pdb_method)->get_group_info_by_sid = NULL; + (*pdb_method)->get_group_list = NULL; + (*pdb_method)->get_group_sids = NULL; + (*pdb_method)->add_group = NULL; + (*pdb_method)->update_group = NULL; + (*pdb_method)->delete_group = NULL; + (*pdb_method)->add_sid_to_group = NULL; + (*pdb_method)->remove_sid_from_group = NULL; + (*pdb_method)->get_group_info_by_name = NULL; + (*pdb_method)->get_group_info_by_nt_name = NULL; + (*pdb_method)->get_group_uids = NULL; data = talloc(pdb_context->mem_ctx, sizeof(pdb_xml)); data->location = talloc_strdup(pdb_context->mem_ctx, (location ? location : "passdb.xml")); |