LDAP and hosts
So my network is now nicely using LDAP for user authenticaion and groups.
I recently discovered there is an LDAP schema for hosts as well. However
it seems to have a flaw--there seems to be no provision for aliases.
I.e. where in /et/hosts I would have:
192.168.1.1 foo.isp.com www loghost foo
my LDIF file has to look like this:
dn: cn=foo.isp.com,ou=Hosts,dc=isp,dc=com
objectClass: top
objectClass: ipHost
cn: foo.isp.com
ipHostNumber: 192.168.1.1
dn: cn=www,ou=Hosts,dc=isp,dc=com
objectClass: top
objectClass: ipHost
cn: www
ipHostNumber: 192.168.1.1
dn: cn=loghost,ou=Hosts,dc=isp,dc=com
objectClass: top
objectClass: ipHost
cn: loghost
ipHostNumber: 192.168.1.1
dn: cn=foo,ou=Hosts,dc=isp,dc=com
objectClass: top
objectClass: ipHost
cn: foo
ipHostNumber: 192.168.1.1
Is that right? Although it works, it seems unecessarily verbose to me.
--
Jaldhar H. Vyas <jaldhar@debian.org>
It's a girl! See the pictures - http://www.braincells.com/shailaja/
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: