Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
lemonldap-ng
lemonldap-ng
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 258
    • Issues 258
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • LemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #857

Closed
Open
Opened Oct 15, 2015 by Philippe Baye@pbaye

Adapt apache log level message on multi authentication scheme

When Authentication module is set with "Mutiple" (in my case "SSL;Slave;LDAP"), for all first ones that fail, i have a "warn" message put in apache error file, before the authentication process finishes. In this case, it will be better not have these logs at a low level ("info" or "debug") : first authentication fails are "normal" case.

Exemple 1 : I have this log, before the connection form is displayed [Thu Oct 15 15:22:50 2015] [warn] Lemonldap::NG : No certificate found (172.xxx.xxx.xxx) [Thu Oct 15 15:22:50 2015] [warn] Lemonldap::NG : Client IP not accredited for Slave module (172.xxx.xxx.xxx)

Exemple 2 : If IP is accredited for Slave module (or slaveMasterIP empty), then the message is at "error" level : [Thu Oct 15 15:25:34 2015] [warn] Lemonldap::NG : No certificate found (172.xxx.xxx.xxx) [Thu Oct 15 15:25:34 2015] [error] No header Slave-Auth-User found

Moreover, each time connection form is submitted (for example wrong password), these 2 first lines are logged.

Assignee
Assign to
2.0.0
Milestone
2.0.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: lemonldap-ng/lemonldap-ng#857