summaryrefslogtreecommitdiff
path: root/nslcd/ldap-nss.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-07-24 15:36:28 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-07-24 15:36:28 +0000
commitf8c6a6daa2be2da2b4c7bb73f03aa132268c40a1 (patch)
treeabace65389b7e0fb4d08071b60e10c67ab277622 /nslcd/ldap-nss.c
parentd6f0e2fbfde1a928580cbfdd6845facf2ff1aea2 (diff)
remove some more unused code
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@327 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/ldap-nss.c')
-rw-r--r--nslcd/ldap-nss.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/nslcd/ldap-nss.c b/nslcd/ldap-nss.c
index a482f25..48e784e 100644
--- a/nslcd/ldap-nss.c
+++ b/nslcd/ldap-nss.c
@@ -3044,17 +3044,6 @@ _nss_ldap_map_at (enum ldap_map_selector sel, const char *attribute)
}
const char *
-_nss_ldap_unmap_at (enum ldap_map_selector sel, const char *attribute)
-{
- const char *mapped = NULL;
- enum nss_status stat;
-
- stat = _nss_ldap_map_get (sel, MAP_ATTRIBUTE_REVERSE, attribute, &mapped);
-
- return (stat == NSS_STATUS_SUCCESS) ? mapped : attribute;
-}
-
-const char *
_nss_ldap_map_oc (enum ldap_map_selector sel, const char *objectclass)
{
const char *mapped = NULL;
@@ -3066,17 +3055,6 @@ _nss_ldap_map_oc (enum ldap_map_selector sel, const char *objectclass)
}
const char *
-_nss_ldap_unmap_oc (enum ldap_map_selector sel, const char *objectclass)
-{
- const char *mapped = NULL;
- enum nss_status stat;
-
- stat = _nss_ldap_map_get (sel, MAP_OBJECTCLASS_REVERSE, objectclass, &mapped);
-
- return (stat == NSS_STATUS_SUCCESS) ? mapped : objectclass;
-}
-
-const char *
_nss_ldap_map_ov (const char *attribute)
{
const char *value = NULL;