nixp.ru v3.0

29 марта 2024,
пятница,
06:54:44 MSK

Аватар пользователя Zarg
Zarg написал 7 июня 2008 года в 13:26 (1160 просмотров) Ведет себя как мужчина; открыл 73 темы в форуме, оставил 120 комментариев на сайте.

DHCP Server V3.0.5

Прикрутил dhcp к openldap, все вроде работает, но единственное необходимо перезапускать dhcp сервер чтобы он увидел изменения в лдап каталоге, на сколько я знаю ldap тем и хорош, что не надо перезапускать различные серверы после внесения изменений.

И в логах постоянно пишет следующее:

dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in.

— dhcp.ldif —

dn: ou=dhcp,dc=domen,dc=ru

ou: dhcp

description: configuration information for DHCP

objectClass: top

objectClass: organizationalUnit

dn: cn=conf,ou=dhcp,dc=domen,dc=ru

dhcpStatements: ddns-update-style none

dhcpStatements: ddns-updates off

dhcpStatements: client-updates off

dhcpStatements: use-host-decl-names on

dhcpStatements: always-reply-rfc1048 on

dhcpStatements: default-lease-time 86400

dhcpStatements: max-lease-time 129600

objectClass: top

objectClass: dhcpService

objectClass: dhcpOptions

dhcpPrimaryDN: ou=dhcp,dc=domen,dc=ru

cn: conf

dhcpOption: domain-name «artpaint»

dhcpOption: netbios-scope «»

dhcpOption: netbios-node-type 8

dhcpOption: time-offset 10800

dhcpOption: ip-forwarding off

dhcpOption: netbios-name-servers 192.168.x.x

dhcpSecondaryDN: cn=host,ou=dhcp,dc=domen,dc=ru

dn: cn=192.168.x.x,cn=conf,ou=dhcp,dc=domen,dc=ru

objectClass: top

objectClass: dhcpSubnet

objectClass: dhcpOptions

dhcpNetMask: 24

dhcpRange: 192.168.x.x 192.168.x.x

cn: 192.168.x.x

dhcpOption: domain-name-servers 192.168.x.x

dhcpOption: routers 192.168.x.x

dhcpOption: ntp-servers 192.168.x.x

dhcpOption: broadcast-address 192.168.x.x

dhcpOption: default-ip-ttl 64

dhcpOption: default-tcp-ttl 64

dn: cn=host,ou=dhcp,dc=domen,dc=ru

dhcpServiceDN: cn=conf,ou=dhcp,dc=domen,dc=ru

objectClass: top

objectClass: dhcpServer

cn: host

dn: cn=comp1,cn=192.168.x.x,cn=conf,ou=dhcp,dc=domen,dc=ru

objectClass: top

objectClass: dhcpHost

objectClass: dhcpOptions

cn: comp1

dhcpHWAddress: ethernet 00:00:00:00:00:00

dhcpStatements: fixed-address 192.168.x.x

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.