summaryrefslogtreecommitdiff
path: root/nslcd/ldap-schema.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-07-24 10:13:46 +0000
committerArthur de Jong <arthur@arthurdejong.org>2007-07-24 10:13:46 +0000
commitfaee906ac541a533b61d1b51aad34fde4f3f8509 (patch)
tree88703b0828a955d0ae319f9a3bc211e94419b781 /nslcd/ldap-schema.h
parentd1566e9f8c34365d4e674f3f7b41a103a8bff01f (diff)
get rid of some unused attribute mappings and a small reorganisation of code
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@325 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/ldap-schema.h')
-rw-r--r--nslcd/ldap-schema.h33
1 files changed, 4 insertions, 29 deletions
diff --git a/nslcd/ldap-schema.h b/nslcd/ldap-schema.h
index 4ccbcd2..360b642 100644
--- a/nslcd/ldap-schema.h
+++ b/nslcd/ldap-schema.h
@@ -98,10 +98,14 @@ extern char _nss_ldap_filt_getnetgrent[];
* selector (eg. LM_PASSWD) relative to an "ldap_config"
*/
+
+
+
/**
* Lookup (potentially mapped)
* objectclass/attribute.
*/
+/* these functions are defined in ldap-nss.[ch] */
#define OC(oc) _nss_ldap_map_oc(LM_NONE, OC##_##oc)
#define OCM(map, at) _nss_ldap_map_oc(map, AT##_##at)
#define AT(at) _nss_ldap_map_at(LM_NONE, AT##_##at)
@@ -241,24 +245,6 @@ extern char _nss_ldap_filt_getnetgrent[];
#define AT_memberNisNetgroup "memberNisNetgroup"
/*
- * ( nisSchema.2.09 NAME 'nisMap' SUP top STRUCTURAL
- * DESC 'A generic abstraction of a NIS map'
- * MUST nisMapName
- * MAY description )
- */
-#define OC_nisMap "nisMap"
-#define AT_nisMapName "nisNapName"
-
-/*
- * ( nisSchema.2.10 NAME 'nisObject' SUP top STRUCTURAL
- * DESC 'An entry in a NIS map'
- * MUST ( cn $ nisMapEntry $ nisMapName )
- * MAY description )
- */
-#define OC_nisObject "nisObject"
-#define AT_nisMapEntry "nisMapEntry"
-
-/*
* ( nisSchema.2.11 NAME 'ieee802Device' SUP top AUXILIARY
* DESC 'A device with a MAC address; device SHOULD be
* used as a structural class'
@@ -268,16 +254,6 @@ extern char _nss_ldap_filt_getnetgrent[];
#define AT_macAddress "macAddress"
/*
- * ( nisSchema.2.12 NAME 'bootableDevice' SUP top AUXILIARY
- * DESC 'A device with boot parameters; device SHOULD be
- * used as a structural class'
- * MAY ( bootFile $ bootParameter ) )
- */
-#define OC_bootableDevice "bootableDevice"
-#define AT_bootFile "bootFile"
-#define AT_bootParameter "bootParameter"
-
-/*
* Map names
*/
#define MP_passwd "passwd"
@@ -290,7 +266,6 @@ extern char _nss_ldap_filt_getnetgrent[];
#define MP_rpc "rpc"
#define MP_ethers "ethers"
#define MP_netmasks "netmasks"
-#define MP_bootparams "bootparams"
#define MP_aliases "aliases"
#define MP_netgroup "netgroup"