Bug 452985 - dhcpd-ldap doesn't find it's configuration
Summary: dhcpd-ldap doesn't find it's configuration
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcp
Version: 9
Hardware: x86_64
OS: Linux
low
urgent
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-26 13:20 UTC by Razvan
Modified: 2008-12-07 04:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-07 04:16:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Razvan 2008-06-26 13:20:31 UTC
Description of problem:
dhcpd-ldap dies with message "Cannot find LDAP entry ..."

I mention that it worked on previous releases with the same configuration.

Comment 1 Razvan 2008-06-27 09:28:27 UTC
I have made a patch witch works for me.

--- dhcp-4.0.0-ldap-configuration.patch.orig    2008-02-07 02:47:26.000000000 +0200
+++ dhcp-4.0.0-ldap-configuration.patch 2008-06-27 12:19:50.000000000 +0300
@@ -1073,7 +1073,7 @@
 +      creds.bv_val = strdup(ldap_password);
 +      creds.bv_len = strlen(ldap_password);
 +
-+      if ((ret == ldap_sasl_bind_s (ld, ldap_username, LDAP_SASL_SIMPLE,
++      if ((ret = ldap_sasl_bind_s (ld, ldap_username, LDAP_SASL_SIMPLE,
 +                                    &creds, NULL, NULL, NULL)) != LDAP_SUCCESS)
 +        {
 +          log_error ("Error: Cannot login into ldap server %s:%d: %s",
@@ -1478,7 +1478,7 @@
 +    return (EOF);
 +
 +  cfile->bufix = 1;
-+  cfile->buflen = strlen (cfile->inbuf);
++  cfile->buflen = strlen (cfile->inbuf) - 1;
 +  if (cfile->buflen > 0)
 +    ldap_write_debug (cfile->inbuf, cfile->buflen);
 +


Comment 2 Razvan 2008-09-29 07:04:16 UTC
After the updates, it still crashes with "Error: Cannot login into ldap server ... : Success" ... please do something before you release the next update.

Comment 3 Fedora Update System 2008-09-30 23:50:11 UTC
dhcp-4.0.0-19.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/dhcp-4.0.0-19.fc9

Comment 4 Fedora Update System 2008-10-01 21:09:52 UTC
dhcp-4.0.0-20.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/dhcp-4.0.0-20.fc9

Comment 5 Fedora Update System 2008-10-03 22:33:13 UTC
dhcp-4.0.0-20.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dhcp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8594

Comment 6 Fedora Update System 2008-10-30 00:59:58 UTC
dhcp-4.0.0-21.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/dhcp-4.0.0-21.fc9

Comment 7 Fedora Update System 2008-10-30 12:56:49 UTC
dhcp-4.0.0-21.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dhcp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9302

Comment 8 Fedora Update System 2008-11-11 22:03:39 UTC
dhcp-4.0.0-22.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/dhcp-4.0.0-22.fc9

Comment 9 Fedora Update System 2008-11-13 03:35:23 UTC
dhcp-4.0.0-22.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update dhcp'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9615

Comment 10 Fedora Update System 2008-12-07 04:16:05 UTC
dhcp-4.0.0-22.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.