diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-05-14 17:59:34 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-23 11:52:21 +0200 |
commit | 200d054efd449435e2bc9d8f7a00fee2183d9c75 (patch) | |
tree | 10523ba4287802a00d0fa0f25ed3848a0c8a6f9d /src/providers/ldap/sdap.c | |
parent | 2aaa41c82462fd4da42851eb925fabe970b76c51 (diff) | |
download | sssd-200d054efd449435e2bc9d8f7a00fee2183d9c75.tar.gz sssd-200d054efd449435e2bc9d8f7a00fee2183d9c75.tar.xz sssd-200d054efd449435e2bc9d8f7a00fee2183d9c75.zip |
Removing unused functions.
This patch remove unused functions sdap_parse_user and sdap_parse_group
Diffstat (limited to 'src/providers/ldap/sdap.c')
-rw-r--r-- | src/providers/ldap/sdap.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c index dba4e41db..a12ffa67e 100644 --- a/src/providers/ldap/sdap.c +++ b/src/providers/ldap/sdap.c @@ -302,34 +302,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, |