From fa3b64de18bde71aba8ed89cd9fbc47d938b9a44 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sat, 17 Jul 2010 18:56:06 +0000 Subject: [PATCH] Adjust proposal. --- blog/draft/2010-07-03-ldap-searches.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blog/draft/2010-07-03-ldap-searches.txt b/blog/draft/2010-07-03-ldap-searches.txt index 0e50f0d9c9..8fc166e906 100644 --- a/blog/draft/2010-07-03-ldap-searches.txt +++ b/blog/draft/2010-07-03-ldap-searches.txt @@ -273,11 +273,11 @@ really help when the DHCP subtree need to have a fairly fixed structure.

Based on the observed behaviour, I suspect a LDAP structure like -this might work:

+this might work for Debian Edu:

 ou=services
-  cn=dns-and-dhcp (dhcpService) - dhcpServiceDN points here
+  cn=machine-info (dhcpService) - dhcpServiceDN points here
     cn=dhcp (dhcpServer)
     cn=dhcp-internal (dhcpSharedNetwork/dhcpOptions)
       cn=10.0.2.0 (dhcpSubnet)
@@ -292,13 +292,13 @@ ou=services
 

This is not tested yet. If the DHCP server require the dhcpHost entries to be in the dhcpGroup subtrees, the entries can be stored there instead of a common machines subtree, and the PowerDNS base -would have to be moved one level up to the dns-and-dhcp subtree.

+would have to be moved one level up to the machine-info subtree.

The combined object under the machines subtree would look something like this:

-dn: dc=hostname,ou=machines,cn=dns-and-dhcp,dc=skole,dc=skolelinux,dc=no
+dn: dc=hostname,ou=machines,cn=machine-info,dc=skole,dc=skolelinux,dc=no
 dc: hostname
 objectClass: top
 objectClass: dhcpHost
-- 
2.47.2