Closed Bug 200742 Opened 22 years ago Closed 22 years ago

Creating new users from LDAP at authentication time is broken

Categories

(Bugzilla :: User Accounts, defect)

2.17.3
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: justdave, Assigned: bbaetz)

References

Details

Attachments

(1 file)

When using LDAP authentication and a user exists in LDAP but does not in Bugzilla, the system is supposed to automatically create a matching user in Bugzilla and let you log in anyway. If you try to log into Bugzilla with such an account, it results in an Internal Server Error. If you back out and log in again, it works (so the account did get created in Bugzilla, the error ocurred after that apparently). The error in question is: [Fri Apr 4 16:05:50 2003] query.cgi: Use of uninitialized value in string eq at Bugzilla/Auth/LDAP.pm line 136. [Fri Apr 4 16:05:50 2003] query.cgi: Use of uninitialized value in string ne at Bugzilla/Auth/LDAP.pm line 152. DBD::mysql::db do failed: Column 'userid' cannot be null at Bugzilla/Auth/CGI.pm line 69 Bugzilla::Auth::CGI::login('Bugzilla::Auth::CGI',2) called at Bugzilla.pm line 74 Bugzilla::login('Bugzilla',2) called at CGI.pl line 275 main::confirm_login() called at /var/www/html/bz-ldap/query.cgi line 57 [Fri Apr 4 16:05:50 2003] [error] [client 24.247.63.25] Premature end of script headers: /var/www/html/bz-ldap/query.cgi
Attached patch fix (deleted) — Splinter Review
Don't want a my here, since then we've lose teh new userid afterwards...
Mine.
Assignee: myk → bbaetz
Target Milestone: --- → Bugzilla 2.18
Attachment #119520 - Flags: review?(justdave)
Attachment #119520 - Flags: review+
Flags: approval+
Attachment #119520 - Flags: review?(justdave)
Fixed
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Summary: Importing new users from LDAP at authentication time is broken → Creating new users from LDAP at authentication time is broken
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: