slapd crash when using pwdMinDelay of ppolicy

Bug #2015380 reported by Andreas Hasenack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Fix Released
Medium
Sergio Durigan Junior
Jammy
Fix Released
Undecided
Sergio Durigan Junior
Kinetic
Won't Fix
Undecided
Sergio Durigan Junior
Lunar
Won't Fix
Undecided
Sergio Durigan Junior
Mantic
Fix Released
Medium
Sergio Durigan Junior

Bug Description

Bug reported upstream[1], and confirmed in the mailing list[2].

PR at [3].

From the mailing list post[2], we can see that slapd crashes:
"""
But if I test with a wrong password ( yyy) I got:
root@zeus:/usr/lib/python3/dist-packages# ldapsearch -xLLLZZD
uid=pauloric,ou=users,dc=contatogs,dc=com,dc=br -w yyy |wc -l
ldap_result: Can't contact LDAP server (-1)
0

my openldap stop working.........Active: inactive (dead)

root@zeus:/usr/lib/python3/dist-packages# systemctl status -l slapd
○ slapd.service - LSB: OpenLDAP standalone server (Lightweight Director>
     Loaded: loaded (/etc/init.d/slapd; generated)
    Drop-In: /usr/lib/systemd/system/slapd.service.d
             └─slapd-remain-after-exit.conf
     Active: inactive (dead) since Tue 2023-04-04 14:44:49 -03; 20s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 986673 ExecStart=/etc/init.d/slapd start (code=exited, sta>
    Process: 986688 ExecStop=/etc/init.d/slapd stop (code=exited, statu>
        CPU: 47ms
"""

1. https://bugs.openldap.org/show_bug.cgi?id=10028
2. https://<email address hidden>/thread/3LYIPMT6TYJM4C7NUFXVYJS7YMODB5ZH/
3. https://git.openldap.org/openldap/openldap/-/merge_requests/609

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

I'll see if I can work on this one tomorrow.

Changed in openldap (Ubuntu):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :
Changed in openldap (Ubuntu Jammy):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in openldap (Ubuntu Kinetic):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Changed in openldap (Ubuntu Lunar):
assignee: nobody → Sergio Durigan Junior (sergiodj)
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

I'll try to prepare an SRU for Lunar, but honestly I can't promise it given my current TODO list. Otherwise, this has been fixed in Jammy and Mantic.

Changed in openldap (Ubuntu Kinetic):
status: New → Won't Fix
Changed in openldap (Ubuntu Jammy):
status: New → Fix Released
Changed in openldap (Ubuntu Mantic):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will not be fixed for that specific release.

Changed in openldap (Ubuntu Lunar):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.