Issue #96 resolved

ldap-plugin floods log with no group attributes assigned

Taneli Korri avatarTaneli Korri created an issue

I'm running scm-manager 1.12 and scm-auth-ldap-plugin 1.8. I'm authenticating scm-manager users against OpenLDAP 2.3.43. and the authentication part seems to work just fine.

The problem is that OpenLDAP doesn't contain memberOf attribute at all so everytime a user accesses a repository the plugin writes a "INFO sonia.scm.auth.ldap.LDAPContext - user has no group attributes assigned" line to the log.

My ldap-plugin configuration doesn't have anything set for "Group Attribute Name". I have a filter in "Group Search Filter" and it works perfectly with the Test Connection feature.

Comments (2)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.