Package: isc-dhcp-server-ldap
Version: 4.4.3-P1-2
Severity: normal

'ldap.intern' and 'ldap' are resolvable on the system (and on clients in the 
network) via ping without problems.

For a config example, please look below.
Also see Bug here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039966

'''
tjener dhcpd[138165]: Cannot find host LDAP entry tjener 
(&(objectClass=dhcpServer)(cn=tjener))
tjener dhcpd[138165]: Configuration file errors encountered -- exiting
'''
This error message gets printed if using 'ldap' for ldap-server. Using 
'ldap.intern' works.

There is also a bind9 instance running which has an
'tjener.intern. A 10.0.2.2' and 'ldap.intern. CNAME tjener.intern.' entry.

-- System Information:
TJENER on Debian Edu Bookworm

Debian Release: 12.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages isc-dhcp-server depends on:
ii  debconf [debconf-2.0]      1.5.82
ii  debianutils                5.7-0.4
ii  libc6                      2.36-9
ii  sysvinit-utils [lsb-base]  3.06-4

Versions of packages isc-dhcp-server recommends:
ii  isc-dhcp-common  4.4.3-P1-2
ii  policycoreutils  3.4-1

Versions of packages isc-dhcp-server suggests:
ii  ieee-data             20220827.1
ii  isc-dhcp-server-ldap  4.4.3-P1-2
ii  policykit-1           122-3

-- Configuration Files:
/etc/dhcp/dhcpd.conf changed:
lease-file-name "/var/lib/dhcp/dhcpd.leases";

# Fails:
ldap-server "ldap";
# Works:
ldap-server "ldap.intern";

ldap-port 389;
ldap-base-dn  "dc=skole,dc=skolelinux,dc=no";
ldap-dhcp-server-cn "tjener";
ldap-method dynamic;
ddns-update-style none;
ldap-debug-file "/var/log/dhcp-ldap.log";

-- debconf information:
  isc-dhcp-server/interfaces:

Reply via email to