the client hostname from the original client.
[ISC-Bugs #42008]
+- In the LDAP code and schema add some missing '6' characters to use
+ the v6 instead of the v4 versions. Thanks to Denis Taranushin for
+ reporting this issue and supplying its patch.
+ [ISC-Bugs #42666]
+
Changes since 4.3.4b1
- None
SUP top
MUST ( cn $ dhcpRange6 )
MAY ( dhcpClassesDN $ dhcpPermitList $ dhcpLeasesDN $ dhcpOptionsDN $ dhcpZoneDN $dhcpKeyDN $ dhcpStatements $ dhcpComments $ dhcpOption )
- X-NDS_CONTAINMENT ('dhcpSubnet' 'dhcpSharedNetwork') )
+ X-NDS_CONTAINMENT ('dhcpSubnet6' 'dhcpSharedNetwork') )
Routines for reading the configuration from LDAP */
/*
- * Copyright (c) 2010,2015 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2010,2015-2016 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2003-2006 Ntelos, Inc.
* All rights reserved.
*
ldap_value_free_len (tempbv);
- if ((tempbv = ldap_get_values_len (ld, item->ldent, "dhcpRange")) != NULL)
+ if ((tempbv = ldap_get_values_len (ld, item->ldent, "dhcpRange6")) != NULL)
{
for (i=0; tempbv[i] != NULL; i++)
{
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++)