[pkg-dhcp-devel] Bug#692808: isc-dhcp-server-ldap: "Semicolon expected" error for some LDAP/DHCP config options
Mark Pavlichuk
pav5088 at internode.on.net
Fri Nov 9 09:04:28 UTC 2012
Package: isc-dhcp-server-ldap
Version: 4.2.4-3
Severity: normal
Dear Maintainer,
I've previously used isc-dhcp-server-ldap in Squeeze, and I am evaluating Wheezy
and cut/pasted ldap configuration identical to my Squeeze setup. I get errors
when parsing some options in the config. ie:
--------------
# /etc/init.d/isc-dhcp-server start
dhcpd self-test failed. Please fix /etc/dhcp/dhcpd.conf.
The error was:
Internet Systems Consortium DHCP Server 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/etc/dhcp/dhcpd.conf line 110: semicolon expected.
ldap-ssl ldaps;
^
/etc/dhcp/dhcpd.conf line 111: semicolon expected.
ldap-tls-reqcert never;
^
Configuration file errors encountered -- exiting
-------------------------
I upgraded from the Wheezy to the Sid version only to have
ALL the ldap options give this error instead of only two.
The configuration I pasted to the end of my config is as
follows :
ldap-server "server.hostname.org";
ldap-port 636;
ldap-ssl ldaps;
ldap-tls-reqcert never;
ldap-username "cn=admin,dc=hostname,dc=org";
ldap-password xxxxx;
ldap-base-dn "dc=hostname,dc=org";
ldap-method dynamic;
ldap-debug-file "/var/log/dhcp-ldap-startup.log";
ldap-ssl ldaps;
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages isc-dhcp-server-ldap depends on:
ii debianutils 4.3.2
ii isc-dhcp-common 4.2.4-3
ii isc-dhcp-server 4.2.4-3
ii libc6 2.13-35
isc-dhcp-server-ldap recommends no packages.
isc-dhcp-server-ldap suggests no packages.
-- no debconf information
More information about the pkg-dhcp-devel
mailing list