1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:idmap: remove the set_mapping method from the idmap API

This commit is contained in:
Michael Adam 2010-05-19 10:20:08 +02:00
parent 95617a03db
commit 0d0032e744
5 changed files with 0 additions and 18 deletions

View File

@ -50,8 +50,6 @@ struct idmap_methods {
and type and gets back a uid or gid. */
NTSTATUS (*sids_to_unixids)(struct idmap_domain *dom, struct id_map **ids);
NTSTATUS (*set_mapping)(struct idmap_domain *dom, const struct id_map *map);
/* Called when backend is unloaded */
NTSTATUS (*close_fn)(struct idmap_domain *dom);
};

View File

@ -253,18 +253,6 @@ static NTSTATUS _idmap_adex_get_id_from_sid(struct
return NT_STATUS_OK;
}
/**********************************************************************
*********************************************************************/
static NTSTATUS _idmap_adex_set_mapping(struct
idmap_domain
*dom, const struct
id_map *map)
{
DEBUG(0, ("_idmap_adex_set_mapping: not implemented\n"));
return NT_STATUS_NOT_IMPLEMENTED;
}
/**********************************************************************
*********************************************************************/
@ -396,7 +384,6 @@ static struct idmap_methods adex_idmap_methods = {
.init = _idmap_adex_init,
.unixids_to_sids = _idmap_adex_get_sid_from_id,
.sids_to_unixids = _idmap_adex_get_id_from_sid,
.set_mapping = _idmap_adex_set_mapping,
.close_fn = _idmap_adex_close
};
static struct nss_info_methods adex_nss_methods = {

View File

@ -1294,7 +1294,6 @@ static struct idmap_methods idmap_ldap_methods = {
.init = idmap_ldap_db_init,
.unixids_to_sids = idmap_ldap_unixids_to_sids,
.sids_to_unixids = idmap_ldap_sids_to_unixids,
.set_mapping = idmap_ldap_set_mapping,
.close_fn = idmap_ldap_close
};

View File

@ -921,7 +921,6 @@ static struct idmap_methods db_methods = {
.init = idmap_tdb_db_init,
.unixids_to_sids = idmap_tdb_unixids_to_sids,
.sids_to_unixids = idmap_tdb_sids_to_unixids,
.set_mapping = idmap_tdb_set_mapping,
.close_fn = idmap_tdb_close
};

View File

@ -879,7 +879,6 @@ static struct idmap_methods db_methods = {
.init = idmap_tdb2_db_init,
.unixids_to_sids = idmap_tdb2_unixids_to_sids,
.sids_to_unixids = idmap_tdb2_sids_to_unixids,
.set_mapping = idmap_tdb2_set_mapping,
.close_fn = idmap_tdb2_close
};