summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-05-14 17:59:34 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-09 15:39:01 +0200
commit049bf68953209ab200150b330f97eed3b9da9e67 (patch)
treede305a9e8865de6d63fa8b878c1f016fe73b27cc /src
parenta49d44f01c391f556808fe2d8c3f97c299de6fb2 (diff)
downloadsssd-049bf68953209ab200150b330f97eed3b9da9e67.tar.gz
sssd-049bf68953209ab200150b330f97eed3b9da9e67.tar.xz
sssd-049bf68953209ab200150b330f97eed3b9da9e67.zip
Removing unused functions.sssd-1.9.2-115.el6
This patch remove unused functions sdap_parse_user and sdap_parse_group
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap.c28
-rw-r--r--src/providers/ldap/sdap.h8
2 files changed, 0 insertions, 36 deletions
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
index bfe3baa56..04c107683 100644
--- a/src/providers/ldap/sdap.c
+++ b/src/providers/ldap/sdap.c
@@ -312,34 +312,6 @@ done:
return ret;
}
-/* This function converts an ldap message into a sysdb_attrs structure.
- * It converts only known user attributes, the rest are ignored.
- * If the entry is not that of an user an error is returned.
- * The original DN is stored as an attribute named originalDN */
-
-int sdap_parse_user(TALLOC_CTX *memctx, struct sdap_options *opts,
- struct sdap_handle *sh, struct sdap_msg *sm,
- struct sysdb_attrs **_attrs, char **_dn)
-{
-
- return sdap_parse_entry(memctx, sh, sm, opts->user_map,
- SDAP_OPTS_USER, _attrs, _dn);
-}
-
-/* This function converts an ldap message into a sysdb_attrs structure.
- * It converts only known group attributes, the rest are ignored.
- * If the entry is not that of an user an error is returned.
- * The original DN is stored as an attribute named originalDN */
-
-int sdap_parse_group(TALLOC_CTX *memctx, struct sdap_options *opts,
- struct sdap_handle *sh, struct sdap_msg *sm,
- struct sysdb_attrs **_attrs, char **_dn)
-{
-
- return sdap_parse_entry(memctx, sh, sm, opts->group_map,
- SDAP_OPTS_GROUP, _attrs, _dn);
-}
-
/* Parses an LDAPDerefRes into sdap_deref_attrs structure */
errno_t sdap_parse_deref(TALLOC_CTX *mem_ctx,
struct sdap_attr_map_info *minfo,
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index 9cf83406b..2dfaf12f5 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -449,14 +449,6 @@ int sdap_parse_entry(TALLOC_CTX *memctx,
struct sysdb_attrs **_attrs, char **_dn,
bool disable_range_retrieval);
-int sdap_parse_user(TALLOC_CTX *memctx, struct sdap_options *opts,
- struct sdap_handle *sh, struct sdap_msg *sm,
- struct sysdb_attrs **_attrs, char **_dn);
-
-int sdap_parse_group(TALLOC_CTX *memctx, struct sdap_options *opts,
- struct sdap_handle *sh, struct sdap_msg *sm,
- struct sysdb_attrs **_attrs, char **_dn);
-
errno_t sdap_parse_deref(TALLOC_CTX *mem_ctx,
struct sdap_attr_map_info *minfo,
size_t num_maps,