diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-07-24 15:36:28 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-07-24 15:36:28 +0000 |
commit | f8c6a6daa2be2da2b4c7bb73f03aa132268c40a1 (patch) | |
tree | abace65389b7e0fb4d08071b60e10c67ab277622 /nslcd/ldap-nss.c | |
parent | d6f0e2fbfde1a928580cbfdd6845facf2ff1aea2 (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.c | 22 |
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; |