Project

General

Profile

Actions

Feature #2802

closed

Add Test button/feature to LDAP Authentication Servers settings

Added by Malte Stretz almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
User Manager / Privileges
Target version:
-
Start date:
02/07/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Description

I'm currently debugging LDAP authentication for OpenVPN and doing so is quite convoluted; currently I went down to the shell to execute the OpenVPN connection script manually via

[2.0.2-RELEASE][]/root(30): env username=user common_name=user password=pass /var/etc/openvpn/server1.php
Warning: ldap_connect(): Could not create session handle: Bad parameter to an ldap routine in /etc/inc/auth.inc on line 1017

I'm still not sure if I have a firewall issue somewhere and thus no connection to the LDAP server for some reason or if something in the pfSense codebase fails. A feature in the LDAP Authentication Servers settings screen where I can type a username, password and hit "Test" and get a result which tells me if the LDAP setup works generally would help a lot.

Actions #1

Updated by Chris Buechler almost 12 years ago

  • Status changed from New to Closed

Diag>Auth is there that does just this.

Actions #2

Updated by Malte Stretz almost 12 years ago

I just found this page myself by grepping through the PHP code. I would never have looked there based on the settings form. Well, now that I looked its in the help as well but duh.

What do you think about adding a Test button/Link on the page?

Actions #3

Updated by Malte Stretz almost 12 years ago

(Actually, the page I found was /system_usermanager_settings_test.php?authserver=UCS which even shows me the PHP Warning I mentioned before, quite useful compared to the simple "Authentication Failed" from the Diag page)

Actions

Also available in: Atom PDF