File dhcp-3.0.6-ldap-patch_external-dn.diff of Package dhcp

--- server/ldap.c
+++ server/ldap.c	2008-05-10 07:49:20.000000000 +0530
@@ -893,7 +893,15 @@
 {
   char *search[] = {"dhcpOptionsDN", "dhcpSharedNetworkDN", "dhcpSubnetDN",
                     "dhcpGroupDN", "dhcpHostDN", "dhcpClassesDN",
-                    "dhcpPoolDN", NULL};
+                    "dhcpPoolDN", "dhcpZoneDN", "dhcpFailOverPeerDN", NULL};
+
+  /* FIXME: dhcpKeyDN can't be added. It is referenced in dhcpDnsZone to
+     retrive the key name (cn). Adding keyDN will reflect adding a key declaration
+     inside the zone configuration.
+
+     dhcpSubClassesDN cant be added. It is also similar to the above.
+     Needs schema change.
+   */
   LDAPMessage * newres, * newent;
   struct ldap_config_stack *ns;
   char **tempstr;