[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1039700: Invalid DHCP configuration for systems in LDAP



Control: reassign -1 gosa-plugins-systems
Control: found -1 2.8_git20211027.5741b8f-5
Control: found -1 2.8_git20211027.5741b8f-4+deb12u1
Control: severity -1 important

On  Mo 21 Aug 2023 11:55:35 CEST, Guido Berhoerster wrote:

On Wed, 28 Jun 2023 13:36:04 +0200 Guido Berhoerster <guido@berhoerster.name> wrote:
Package: debian-edu-config
Version: 2.12.32

After adding a workstation (hostname: "ws01.intern") as shown in
https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/debian-edu-bullseye-manual-images/gosa_systems_edit_host.png
the following DHCPD error appears, suggesting invalid syntax:

2023-06-28T11:19:42.890913+02:00 tjener dhcpd[1368]: LDAP-HOST line 2: semicolon expected.
2023-06-28T11:19:42.891073+02:00 tjener dhcpd[1368]: option host-name ws01.
2023-06-28T11:19:42.891107+02:00 tjener dhcpd[1368]:                       ^
2023-06-28T11:19:42.891133+02:00 tjener dhcpd[1368]: uid lease 10.0.16.22 for client 00:16:3e:22:7b:5e is duplicate on intern 2023-06-28T11:19:42.891172+02:00 tjener dhcpd[1368]: DHCPDISCOVER from 00:16:3e:22:7b:5e via eth0 2023-06-28T11:19:42.891207+02:00 tjener dhcpd[1368]: DHCPOFFER on 10.0.0.2 to 00:16:3e:22:7b:5e via eth0 2023-06-28T11:19:42.891859+02:00 tjener dhcpd[1368]: LDAP-HOST line 2: semicolon expected.
2023-06-28T11:19:42.891915+02:00 tjener dhcpd[1368]: option host-name ws01.
2023-06-28T11:19:42.891947+02:00 tjener dhcpd[1368]:                       ^
2023-06-28T11:19:42.891982+02:00 tjener dhcpd[1368]: uid lease 10.0.16.22 for client 00:16:3e:22:7b:5e is duplicate on intern 2023-06-28T11:19:42.898709+02:00 tjener dhcpd[1368]: DHCPREQUEST for 10.0.0.2 (10.0.2.2) from 00:16:3e:22:7b:5e via eth0 2023-06-28T11:19:42.898830+02:00 tjener dhcpd[1368]: DHCPACK on 10.0.0.2 to 00:16:3e:22:7b:5e via eth0

It turns out that this is another problem caused by
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042083

It only happens when the added hostname is fully qualified,
as incorrectly suggested in the above documentation
screenshot. We need to fix this in gosa as it is easy to
get wrong and causes all kinds of weird issues.


Re-assigning this issue to gosa-plugins-systems and updating the bug's metadata.

Mike
--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver@debian.org, http://sunweavers.net

Attachment: pgpPxjTSIrstt.pgp
Description: Digitale PGP-Signatur


Reply to: