Page MenuHomekolab.org

smiler2505 (smiler2505)
User

Projects

User does not belong to any projects.

User Details

User Since
Apr 4 2019, 6:02 AM (36 w, 2 d)

Recent Activity

Apr 4 2019

smiler2505 updated the task description for T5327: Apostrophe in employee name causes LDAP crash.
Apr 4 2019, 6:19 PM · PyKolab, Bug Reports
smiler2505 added a comment to T5327: Apostrophe in employee name causes LDAP crash.

Apologies that this has taken some time to post, I found the solution earlier today but was investigating other issues too. The patch is to add, on line 133:

user_attrs['surname'] = user_attrs['surname'].replace(r"'", r"\'")
Apr 4 2019, 6:14 PM · PyKolab, Bug Reports
smiler2505 updated the task description for T5327: Apostrophe in employee name causes LDAP crash.
Apr 4 2019, 3:01 PM · PyKolab, Bug Reports
smiler2505 lowered the priority of T5327: Apostrophe in employee name causes LDAP crash from Unbreak Now! to Needs Triage.

Moving priority back to needs triage, I had caused a second fault during my investigation with a stray vim command. The above code alters the message to:

Apr 4 2019, 2:46 PM · PyKolab, Bug Reports
smiler2505 renamed T5327: Apostrophe in employee name causes LDAP crash from Apostrophe in employee name causes fail in slapd to Apostrophe in employee name causes LDAP crash.
Apr 4 2019, 2:08 PM · PyKolab, Bug Reports
smiler2505 raised the priority of T5327: Apostrophe in employee name causes LDAP crash from Needs Triage to Unbreak Now!.

Ignore this post, I am keeping it here as it was a clue to the final solution:

Apr 4 2019, 2:08 PM · PyKolab, Bug Reports
smiler2505 created T5327: Apostrophe in employee name causes LDAP crash.
Apr 4 2019, 6:16 AM · PyKolab, Bug Reports