Open cesarmacias opened 14 years ago
Confirmed same error as above, it is however possible to reduce the number to below 500 then start server and import the rest. The server does find them and does handle everything correctly.
using debian built 4.1.1-P1-12 (it seems to be using 4.1.0) trying to building isc-dhcp-4.2.0-P1 package as we speak, as I assume that would contain the latest version.
Set sizelimit parameter in slapd.conf > 500
When start dhcp with one subnet with 500+ host declaration, the service not start. Start normaly when reduce to 499 th host declaration, any host declaration have to delete to reduce de number of host declaration.
Error: Internet Systems Consortium DHCP Server 4.1.1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ LDAP line 40: subnet declarations not allowed here. option broadcast-address 10.6.255.255;subnet
Log:
$ head -100 /var/log/dhcp-ldap-startup.log ddns-update-style none; default-lease-time 345600; max-lease-time 432000; deny unknown-clients; deny client-updates; authoritative;subnet 192.168.3.192 netmask 255.255.255.192 { deny unknown-clients; option domain-name-servers 200.124.247.202, 200.124.247.205; option routers 192.168.3.254; option subnet-mask 255.255.255.192; option broadcast-address 192.168.3.255;pool { range 192.168.3.252 192.168.3.252; } }shared-network "GYE-VoIP" {subnet 10.5.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.5.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.5.255.255;}subnet 10.4.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.4.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.4.255.255; }subnet 10.4.0.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.4.127.254; option subnet-mask 255.255.128.0; option broadcast-address 10.4.127.255;}subnet 10.6.0.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.127.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.127.255; }subnet 10.1.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.1.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.1.255.255;}subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;subnet 10.6.128.0 netmask 255.255.128.0 { option domain-name-servers 192.168.4.195, 192.168.4.196; option routers 10.6.255.254; option subnet-mask 255.255.128.0; option broadcast-address 10.6.255.255;
LDAP:
dhcpStatements: deny unknown-clients objectClass: dhcpSubnet objectClass: dhcpOptions dhcpNetMask: 26 dhcpOption: domain-name-servers 200.124.247.202, 200.124.247.205 dhcpOption: routers 192.168.3.254 dhcpOption: subnet-mask 255.255.255.192 dhcpOption: broadcast-address 192.168.3.255 cn: 192.168.3.192
dn: cn=Pool,cn=192.168.3.192, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intran et objectClass: dhcpPool dhcpRange: 192.168.3.252 192.168.3.252 cn: Pool
dn: cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intranet objectClass: dhcpSharedNetwork cn: GYE-VoIP
dn: cn=REGION-04,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intran et objectClass: dhcpSubnet objectClass: dhcpOptions dhcpNetMask: 17 dhcpOption: domain-name-servers 192.168.4.195, 192.168.4.196 dhcpOption: routers 10.5.255.254 dhcpOption: subnet-mask 255.255.128.0 dhcpOption: broadcast-address 10.5.255.255 cn: 10.5.128.0 cn: REGION-04
dn: cn=REGION-02,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intran et objectClass: dhcpSubnet objectClass: dhcpOptions dhcpNetMask: 17 dhcpOption: domain-name-servers 192.168.4.195, 192.168.4.196 dhcpOption: routers 10.4.255.254 dhcpOption: subnet-mask 255.255.128.0 dhcpOption: broadcast-address 10.4.255.255 cn: 10.4.128.0 cn: REGION-02
dn: cn=REGION-01,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intran et objectClass: dhcpSubnet objectClass: dhcpOptions dhcpNetMask: 17 dhcpOption: domain-name-servers 192.168.4.195, 192.168.4.196 dhcpOption: routers 10.4.127.254 dhcpOption: subnet-mask 255.255.128.0 dhcpOption: broadcast-address 10.4.127.255 cn: 10.4.0.0 cn: REGION-01
dn: cn=REGION-05,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intran et objectClass: dhcpSubnet objectClass: dhcpOptions dhcpNetMask: 17 dhcpOption: domain-name-servers 192.168.4.195, 192.168.4.196 dhcpOption: routers 10.6.127.254 dhcpOption: subnet-mask 255.255.128.0 dhcpOption: broadcast-address 10.6.127.255 cn: 10.6.0.0 cn: REGION-05
dn: cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc=telmex,dc=ec,dc=intran et objectClass: dhcpSubnet objectClass: dhcpOptions dhcpNetMask: 17 dhcpOption: domain-name-servers 192.168.4.195, 192.168.4.196 dhcpOption: routers 10.1.255.254 dhcpOption: subnet-mask 255.255.128.0 dhcpOption: broadcast-address 10.1.255.255 cn: 10.1.128.0 cn: REGION-03
dn: cn=SIP-003-3870-PR4317,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:0e:08:e4:94:55 objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.3 cn: SIP-003-3870-PR4317
dn: cn=SIP-005-4716-PR5363,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:14:bf:4f:0a:0e dhcpStatements: fixed-address 10.1.128.5 objectClass: top objectClass: dhcpHost cn: SIP-005-4716-PR5363
dn: cn=SIP-007-5132-PR5800,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:14:bf:4f:0f:e9 objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.7 cn: SIP-007-5132-PR5800
dn: cn=SIP-009-2162-PR6636,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:14:bf:4f:40:80 objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.9 cn: SIP-009-2162-PR6636
dn: cn=SIP-011-2566-PR3944,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:0e:08:e4:99:e0 objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.11 cn: SIP-011-2566-PR3944
dn: cn=SIP-012-2566-PR3944,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:0e:08:e4:97:13 objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.12 cn: SIP-012-2566-PR3944
dn: cn=SIP-013-2566-PR3944,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:14:bf:4f:40:6b objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.13 cn: SIP-013-2566-PR3944
dn: cn=SIP-021-2162-PR6636,cn=REGION-03,cn=GYE-VoIP, cn=DHCP Wimax, dc=gye,dc =telmex,dc=ec,dc=intranet dhcpHWAddress: ethernet 00:0e:08:e4:99:14 objectClass: top objectClass: dhcpHost dhcpStatements: fixed-address 10.1.128.21 cn: SIP-021-2162-PR6636
--> 600 host declaration