[GH-ISSUE #562] ambiguous column name: display_name #202

Closed
opened 2026-02-27 08:15:51 +03:00 by kerem · 3 comments
Owner

Originally created by @jim-kirisame on GitHub (Apr 20, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/562

LLDAP return result code 80 when query with cn

(&(cn=*test*))

Error message:

Error while searching user "ou=people,dc=******,dc=***": Database error: `Query Error: error returned from database: (code: 1) ambiguous column name: display_name`.
Originally created by @jim-kirisame on GitHub (Apr 20, 2023). Original GitHub issue: https://github.com/lldap/lldap/issues/562 LLDAP return result code 80 when query with cn ``` (&(cn=*test*)) ``` Error message: ``` Error while searching user "ou=people,dc=******,dc=***": Database error: `Query Error: error returned from database: (code: 1) ambiguous column name: display_name`. ```
kerem 2026-02-27 08:15:51 +03:00
Author
Owner

@nitnelave commented on GitHub (May 3, 2023):

Thanks, I'll look into that. We use an ORM, but it does lead to some naming conflicts, that's a bit unfortunate.

<!-- gh-comment-id:1533039153 --> @nitnelave commented on GitHub (May 3, 2023): Thanks, I'll look into that. We use an ORM, but it does lead to some naming conflicts, that's a bit unfortunate.
Author
Owner

@nitnelave commented on GitHub (May 17, 2023):

Note that I'm in the middle of an SQL refactoring while working on #67, so maybe it'll fix that. I still need to add the test case, though.

<!-- gh-comment-id:1550556167 --> @nitnelave commented on GitHub (May 17, 2023): Note that I'm in the middle of an SQL refactoring while working on #67, so maybe it'll fix that. I still need to add the test case, though.
Author
Owner

@nitnelave commented on GitHub (Sep 12, 2023):

Note that it seems to be fixed, probably at some point due to the refactoring mentioned above.

<!-- gh-comment-id:1715668284 --> @nitnelave commented on GitHub (Sep 12, 2023): Note that it seems to be fixed, probably at some point due to the refactoring mentioned above.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#202
No description provided.