[Bug 140461] Re: Wrong path to LDAP configuration file supplied in config option

Bug Watch Updater 140461 at bugs.launchpad.net
Sun Feb 28 23:32:30 UTC 2021


** Changed in: sudo (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/140461

Title:
  Wrong path to LDAP configuration file supplied in config option

Status in sudo package in Ubuntu:
  Fix Released
Status in sudo package in Debian:
  Fix Released

Bug description:
  Binary package hint: sudo-ldap

  As per debian/rules in the sudo source package, the configure script
  get passed:

                 --with-ldap-conf-file=/etc/ldap/ldap.conf \

  
  This is clearly wrong, as README.LDAP state:

      Configure your /etc/ldap.conf
      =============================
      The /etc/ldap.conf file is meant to be shared between sudo,
      pam_ldap, nss_ldap and other ldap applications and modules.

  
  In Ubuntu, the configuration file of nss_ldap and pam_ldap /etc/ldap.conf.  /etc/ldap/ldap.conf is used by OpenLDAP client utilities, such as ldapsearch, lpdapadd, etc, and use a different format that the pam_ldap/nss_ldap config files.  Thus, it make no sense to use /etc/ldap/ldap.conf for the LDAP configuration of sudo.

  I think relying on the configuration file of another software package
  is really a problem with upstream, but we could fix it in Ubuntu by
  having the configure line discussed above changed to :

                 --with-ldap-conf-file=/etc/ldap.conf \

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/140461/+subscriptions



More information about the foundations-bugs mailing list