Package: dhcp3-server-ldap Version: 3.1.1-1_ amd64 Severity: important
-- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/bash dhcpd is unable to authenticate to ldap with a valid account. ---syslog start--- Jun 3 10:34:16 sam dhcpd: Connecting to LDAP server localhost:389 Jun 3 10:34:16 sam slapd[26655]: conn=9 op=0 BIND dn="uid=dhcp,ou=People,dc=local,dc=com" method=128 Jun 3 10:34:16 sam slapd[26655]: conn=9 op=0 BIND dn="uid=dhcp,ou=People,dc=local,dc=com" mech=SIMPLE ssf=0 Jun 3 10:34:16 sam dhcpd: Error: Cannot login into ldap server localhost:389: Success Jun 3 10:34:16 sam dhcpd: Configuration file errors encountered -- exiting ---syslog end--- ---strace start--- setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = 0 connect(6, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 write(6, "0>\2\1\1`9\2\1\3\4&uid=dhcp, ou=People,"..., 64) = 64 poll([{fd=6, events=POLLIN|POLLPRI|POLLERR|POLLHUP, revents=POLLIN}], 1, -1) = 1 read(6, "0\f\2\1\1a\7\n", 8) = 8 read(6, "\1\0\4\0\4\0", 6) = 6 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 sendto(3, "<27>Jun 3 11:20:54 dhcpd: Error"..., 91, MSG_NOSIGNAL, NULL, 0) = 91 write(2, "Error: Cannot login into ldap se"..., 64Error: Cannot login into ldap localhost:389: Success) = 64 write(2, "\n", 1 ) = 1 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0 write(6, "0\5\2\1\2B\0", 7) = 7 shutdown(6, 2 /* send and receive */) = 0 close(6) = 0 rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_IGN}, 8) = 0 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 sendto(3, "<27>Jun 3 11:20:54 dhcpd: Confi"..., 75, MSG_NOSIGNAL, NULL, 0) = 75 write(2, "Configuration file errors encoun"..., 48Configuration file errors encountered -- exiting) = 48 write(2, "\n", 1 ) = 1 exit_group(1) = ? ---strace end--- ---dhcpd.conf start--- ldap-server "localhost"; ldap-port 389; ldap-username "uid=dhcp, ou=People, dc=local, dc=com"; ldap-password "secret"; ldap-base-dn "ou=DHCP, dc=local, dc=com"; ldap-method dynamic; ldap-debug-file "/var/log/dhcpd/dhcp-ldap-startup.log"; ---dhcpd.conf end--- Anonymous authentication is successful and dhcpd starts successfully but this denies usage of LDAP-ACLs. Authentication with same account and wrong password is successfull too and dhcpd starts. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]