Project

General

Profile

Bug #10942

LDAP Auth error after update 2.5.0.a.20200930.1303

Added by Edivan Carneiro de castro 2 months ago. Updated 20 days ago.

Status:
Feedback
Priority:
High
Category:
Authentication
Target version:
Start date:
09/30/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:

Description

pfsense given the follow error auth LDAP after update

Crash report details:

PHP Errors:
[30-Sep-2020 18:10:54 Etc/GMT+3] PHP Warning: ldap_get_entries() expects parameter 2 to be resource, bool given in /etc/inc/auth.inc on line 1572

Associated revisions

Revision ac4a56f1 (diff)
Added by Viktor Gurov 2 months ago

LDAP group search fix. Issue #10942

History

#1 Updated by Viktor Gurov 2 months ago

  • Category set to Authentication
  • Affected Version set to 2.5.0

#2 Updated by Renato Botelho 2 months ago

  • Status changed from New to Pull Request Review
  • Assignee set to Renato Botelho
  • Target version set to 2.5.0

#3 Updated by Edivan Carneiro de castro 2 months ago

Viktor Gurov wrote:

fix:
https://github.com/pfsense/pfsense/pull/4463

I dont understand how to apply this fix

#4 Updated by Viktor Gurov 2 months ago

Edivan Carneiro de castro wrote:

Viktor Gurov wrote:

fix:
https://github.com/pfsense/pfsense/pull/4463

I dont understand how to apply this fix

you can test it using commit ID ac4a56f1ffee508039e7c4ab87a5f2c094f3f25f in the System Patches pkg
see https://docs.netgate.com/pfsense/en/latest/development/system-patches.html

#5 Updated by Renato Botelho 2 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100

PR has been merged. Thanks!

#6 Updated by Steve Beaver about 2 months ago

  • Assignee changed from Renato Botelho to Viktor Gurov

#7 Updated by Steve Beaver about 2 months ago

  • Assignee changed from Viktor Gurov to Edivan Carneiro de castro

Please confirm fix

#8 Updated by Max Leighton 20 days ago

Testing LDAP authentication in

2.5.0-DEVELOPMENT (amd64)
built on Wed Nov 11 12:59:57 EST 2020
FreeBSD 12.2-STABLE

It is working for me. I do not have 2.5.0.a.20200930.1303 to reproduce with so we probably want Edivan to confirm that it is now resolved in his environment as well.

Also available in: Atom PDF