https://redmine.pfsense.org/
https://redmine.pfsense.org/favicon.ico?1678052116
2022-12-02T08:35:09Z
pfSense bugtracker
pfSense - Todo #13718: Improve LDAP debugging
https://redmine.pfsense.org/issues/13718?journal_id=64154
2022-12-02T08:35:09Z
Jim Pingle
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Improve LDAP debug logs. Implements #13718" href="https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/51c72717a62860a85b251ea17e72087a27d9e18a">51c72717a62860a85b251ea17e72087a27d9e18a</a>.</p>
pfSense - Todo #13718: Improve LDAP debugging
https://redmine.pfsense.org/issues/13718?journal_id=64387
2022-12-08T07:55:55Z
Jim Pingle
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>This is working well. Go to Diag > Auth, pick the server, enter the credentials, check the debug box and:</p>
<pre>
2022-12-08 08:52:59.036667-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Attempting to authenticate jimp on LDAPAuth
2022-12-08 08:52:59.036825-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: URI: ldap://ldap.example.com:389 (v3)
2022-12-08 08:52:59.036925-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Base DN: dc=example,dc=com
2022-12-08 08:52:59.037022-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Scope: subtree
2022-12-08 08:52:59.037118-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Auth Bind DN:
2022-12-08 08:52:59.037214-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Container: dc=example,dc=com
2022-12-08 08:52:59.037311-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Attrs: Name: cn / Group: memberUid
2022-12-08 08:52:59.037413-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Extended Query:
2022-12-08 08:52:59.037510-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Filter: (cn=jimp)
2022-12-08 08:52:59.037611-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Group Filter:
2022-12-08 08:52:59.057372-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: LDAP connection error flag: false
2022-12-08 08:52:59.062664-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Now Searching for jimp in directory.
2022-12-08 08:52:59.062842-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Now searching in server LDAPAuth, container dc=example,dc=com with filter (cn=jimp).
2022-12-08 08:52:59.066293-05:00 php-fpm 19979 /diag_authentication.php: LDAP Debug: Logged in successfully as jimp via LDAP server LDAPAuth with DN = cn=jimp,ou=people,dc=example,dc=com.
</pre>