File dhcp-3.1.1-ldap-patch_service-assoc-msg.dif of Package dhcp

--- server/ldap.c
+++ server/ldap.c	2009/01/15 15:47:19
@@ -1750,7 +1750,8 @@ ldap_read_config (void)
       (tempstr = ldap_get_values (ld, hostent, "dhcpServiceDN")) == NULL ||
       tempstr[0] == NULL)
     {
-      log_error ("Error: Cannot find LDAP entry matching %s", hfilter);
+      log_error ("Error: No dhcp service is associated with the server %s %s", (hostdn ? "dn" : "name"),
+	(hostdn ? hostdn : (ldap_dhcp_server_cn ? ldap_dhcp_server_cn : unme.nodename)));
 
       if (tempstr != NULL)
         ldap_value_free (tempstr);
openSUSE Build Service is sponsored by