Difference between revisions of "Host resolution using openLDAP"

From Notes_Wiki
(Created page with "=Host resolution using ldap= To use ldap for host resolution use following steps: #Verify that '<tt>nis</tt>' schema is included in slapd configuratiodn #Create an ou for hos...")
 
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Host resolution using ldap=
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[LDAP servers]] > [[OpenLDAP]] > [[Host resolution using openLDAP|Host resolution]]


To use ldap for host resolution use following steps:
To use ldap for host resolution use following steps:
Line 20: Line 20:
#:</pre>
#:</pre>


Client configuration steps are mentioned at [[ldap client configuration]]
Client configuration steps are mentioned at [[OpenLDAP client configuration#Configuring_host_to_use_ldap_for_host_resolution|Configuring host to use LDAP for host resolution]]
 
 
 
 
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[LDAP servers]] > [[OpenLDAP]] > [[Host resolution using openLDAP|Host resolution]]

Latest revision as of 15:18, 13 March 2022

Home > CentOS > CentOS 6.x > LDAP servers > OpenLDAP > Host resolution

To use ldap for host resolution use following steps:

  1. Verify that 'nis' schema is included in slapd configuratiodn
  2. Create an ou for hosts using
    dn: ou=hosts,dc=virtual-labs,dc=ac,dc=in
    objectClass: organizationalUnit
    ou: hosts
    description: Group of important hosts for converting host names to IP addresses
  3. Create sample host entry using
    dn: cn=ldap,ou=hosts,dc=virtual-labs,dc=ac,dc=in
    objectClass: ipHost
    objectClass: device
    ipHostNumber: 10.4.12.152
    cn: ldap
    cn: ldap.virtual-labs.ac.in

Client configuration steps are mentioned at Configuring host to use LDAP for host resolution



Home > CentOS > CentOS 6.x > LDAP servers > OpenLDAP > Host resolution