summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-05-19 10:20:08 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 02:10:36 +0200
commit0d0032e744e394597d108def097143927637f854 (patch)
treeb9c1b12bc5c71a1a815b3fa0021c44c89bc603de
parent95617a03db896a2ac2051f74e7d7ba1209fbc61b (diff)
downloadsamba-0d0032e744e394597d108def097143927637f854.tar.gz
samba-0d0032e744e394597d108def097143927637f854.tar.bz2
samba-0d0032e744e394597d108def097143927637f854.zip
s3:idmap: remove the set_mapping method from the idmap API
-rw-r--r--source3/include/idmap.h2
-rw-r--r--source3/winbindd/idmap_adex/idmap_adex.c13
-rw-r--r--source3/winbindd/idmap_ldap.c1
-rw-r--r--source3/winbindd/idmap_tdb.c1
-rw-r--r--source3/winbindd/idmap_tdb2.c1
5 files changed, 0 insertions, 18 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h
index 27e4f8d51a..c8df61c53c 100644
--- a/source3/include/idmap.h
+++ b/source3/include/idmap.h
@@ -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);
};
diff --git a/source3/winbindd/idmap_adex/idmap_adex.c b/source3/winbindd/idmap_adex/idmap_adex.c
index 05b5170718..5e55df357e 100644
--- a/source3/winbindd/idmap_adex/idmap_adex.c
+++ b/source3/winbindd/idmap_adex/idmap_adex.c
@@ -256,18 +256,6 @@ static NTSTATUS _idmap_adex_get_id_from_sid(struct
/**********************************************************************
*********************************************************************/
-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;
-}
-
-/**********************************************************************
- *********************************************************************/
-
static NTSTATUS _idmap_adex_close(struct idmap_domain
*dom)
{
@@ -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 = {
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 32bcff9e61..fec8c47a06 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -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
};
diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c
index 095889f255..554fdd29aa 100644
--- a/source3/winbindd/idmap_tdb.c
+++ b/source3/winbindd/idmap_tdb.c
@@ -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
};
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index 4576ed68f2..048955954f 100644
--- a/source3/winbindd/idmap_tdb2.c
+++ b/source3/winbindd/idmap_tdb2.c
@@ -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
};