Two LDAP bugs

Asked by Richard Bychowski on 2015-10-20

Hi, I've come across two bugs in the LDAP plugin, and hopefully submitted them properly.

The first bug involved the incorrect parsing of LDAP config.py file. Initially I reported that in the main schooltool project:

https://bugs.launchpad.net/schooltool/+bug/1489235

But then realized it should be in the LDAP plugin project, and so I used the "Also affects distribution/package" button to send it here:

https://bugs.launchpad.net/ubuntu/+source/schooltool.ldap/+bug/1489235

I was able to make the query_users work by adjusting the query to fit the incorrect parsing (by leaving off the outside brackets). Hopefully though the parsing can be fixed to do the right thing when the brackets are included, which is the correct syntax.

Recently I found another LDAP bug that caused the first name of a user to be shown as the full name, so the users names were displayed as "First Last Last". That bug was reported directly to the LDAP plugin bug tracker:

https://bugs.launchpad.net/schooltool.ldap/+bug/1508147

That can be fixed by assigning first_name from the "givenName" attribute, rather than "cn".

So the question is, am I submitting these bugs properly?

Question information

Language:
English Edit question
Status:
Solved
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Hoffman
Solved:
2015-10-20
Last query:
2015-10-20
Last reply:
2015-10-20
Best Tom Hoffman (tom-hoffman) said : #1

Yes... we've just been very busy lately, and the LDAP functionality hadn't gotten much user attention until recently.

Richard Bychowski (bychowski) said : #2

It's a great feature, hopefully that attention will persist. Thanks!!!