Package: sudo-ldap Version: 1.8.27-1 Severity: minor Hi,
this applies to all sudo versions that I can get ahold of, and was observed when creating autopkgtests. Sadly, I do not have a good idea how to fix this at the moment. Steps to reproduce: - install sudo-ldap, slapd and ldap-utils in the same apt run - configure ldap and sudo-ldap, fill directory with (test) data - try using sudo - see it failing - dpkg-reconfigure sudo-ldap - see sudo working The issue is that sudo-ldap's postinst tries to symlink /etc/ldap/ldap.conf to /etc/sudo-ldap.conf if /etc/ldap/ldap.conf exists. If the LDAP software has just been installed, /etc/ldap/ldap.conf doesn't exist yet, hence the symlink is not created, hence non-working sudo. The reconfiguration finds /etc/ldap/ldap.conf, creates the symlink, and everything is fine. My only short-term idea is to create the symlink even if it is dangling in the beginning. Without /etc/ldap/ldap.conf, sudo-ldap isn't working either way. I don't particularly like that idea though. Greetings Marc