ISC-DHCP ipv6 + LDAP: pull request

Denis Taranushin tda at suttk.ru
Tue Jun 14 12:19:15 UTC 2016


Hello!
I have finally  done it!
But there is an some errors in repo.
There is a patch that make DHCP (4.3.4b1) works well with LDAP:

--- ./dhcp-4.3.4b1/server/ldap.c        2016-03-05 01:40:31.000000000 +0500
+++ ./dhcp-4.3.4b2/server/ldap.c        2016-06-14 16:40:23.000000000 +0500
@@ -702,9 +702,9 @@
    struct berval **tempbv;
    int i;

-  x_parser_strcat (cfile, "pool {\n");
+  x_parser_strcat (cfile, "pool6 {\n");

-  if ((tempbv = ldap_get_values_len (ld, item->ldent, "dhcpRange")) != 
NULL)
+  if ((tempbv = ldap_get_values_len (ld, item->ldent, "dhcpRange6")) != 
NULL)
      {
        x_parser_strcat (cfile, "range6");
        for (i=0; tempbv[i] != NULL; i++)

I don't have programmer acccount to pull request normally.
But please fix it. I have spent 2 weeks to start DHCPv6+LDAP.



More information about the dhcp-users mailing list