Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5794
Something went wrong while setting issue due date.
Closed
Open
Issue created 7 years ago by Glenn Provoost@gprovoost
  • New related issue

  • New related issue

Activating audit for action 'security' causes error at login

Closed

Activating audit for action 'security' causes error at login

Description

After a successful login, the error "The required field 'Object' is empty!" appears (see attached screenshot).

Screen_Shot_2018-03-04_at_09.29.44

Distribution Name and Version

Ubuntu 14.04.5

FusionDirectory Version

1.2-1

PHP version used

5.5.9+dfsg-1ubuntu4.23

Origin of php packages

deb http://repos.fusiondirectory.org/fusiondirectory-extra/debian-jessie jessie main

Steps to Reproduce

  1. Log in
  2. Error appears
  3. Click ok and everything seemingly works

Expected behavior:

No error is expected to display.

Actual behavior:

Error displays.

Reproduces how often:

Happens in 100% of the successful logins.

Additional Information

The following modules are installed:

ii  fusiondirectory                         1.2-1                                      all          Web Based LDAP Administration Program
ii  fusiondirectory-plugin-alias-schema     1.2-1                                      all          LDAP schema for FusionDirectory alias plugin
ii  fusiondirectory-plugin-audit            1.2-1                                      all          audit plugin for FusionDirectory
ii  fusiondirectory-plugin-audit-schema     1.2-1                                      all          LDAP schema for FusionDirectory audit plugin
ii  fusiondirectory-plugin-mail             1.2-1                                      all          base mail plugin for FusionDirectory
ii  fusiondirectory-plugin-mail-schema      1.2-1                                      all          LDAP schema for FusionDirectory mail plugin
ii  fusiondirectory-plugin-posix            1.2-1                                      all          posix account and group plugin for FusionDirectory
ii  fusiondirectory-schema                  1.2-1                                      all          LDAP schema for FusionDirectory
ii  fusiondirectory-smarty3-acl-render      1.2-1                                      all          Provide FusionDirectory ACL based rendering for Smarty3
Edited 7 years ago

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • Côme Chilliet assigned to @MCMic 7 years ago

      assigned to @MCMic

    • Côme Chilliet
      Côme Chilliet @cchilliet · 7 years ago
      Reporter

      Could you activate the trace debug level in your configuration and give us the trace for the error? It looks like it’s related to the audit plugin from what I can tell, but I do not know why it sees an event on an empty object. Can you also activate PHP error display and tell us if there are any PHP errors happening? (be sure to deactivate those debug options afterwards)

    • Glenn Provoost
      Glenn Provoost @gprovoost · 7 years ago
      Author

      See attachment for the trace debug. Not sure if there is a better way of providing you with this information?Screen_Shot_2018-03-05_at_11.56.29

    • Glenn Provoost
      Glenn Provoost @gprovoost · 7 years ago
      Author

      I set both 'display_errors' and 'display_startup_errors' to 'on' in /etc/php5/apache2/php.ini and no errors display

    • Côme Chilliet
      Côme Chilliet @cchilliet · 7 years ago
      Reporter

      What did you put in «Actions to audit» in your configuration for the Audit plugin?

    • Glenn Provoost
      Glenn Provoost @gprovoost · 7 years ago
      Author

      See below. I cannot remember making any changes to the default by the way.

      Screen_Shot_2018-03-05_at_15.48.21

    • Côme Chilliet
      Côme Chilliet @cchilliet · 7 years ago
      Reporter

      Someone did, the defaults are 'modify','create','remove'. If you did not this is a bug.

    • Côme Chilliet changed milestone to %FusionDirectory 1.3 7 years ago

      changed milestone to %FusionDirectory 1.3

    • Côme Chilliet added fd~429 label 7 years ago

      added fd~429 label

    • Côme Chilliet changed title from "The required field 'Object' is empty!" error after successful login to Activating audit for action 'security' causes error at login 7 years ago

      changed title from "The required field 'Object' is empty!" error after successful login to Activating audit for action 'security' causes error at login

    • Côme Chilliet
      Côme Chilliet @cchilliet · 7 years ago
      Reporter

      (You can just remove security from the list to get rid of the error. I will still try to fix it before 1.3 is out)

    • Glenn Provoost
      Glenn Provoost @gprovoost · 7 years ago
      Author

      I confirm the error is gone after I remove security from the list.

      Thank you very much!

    • bmortier added fd~628 label 7 years ago

      added fd~628 label

    • Côme Chilliet created branch 5794-activating-audit-for-action-security-causes-error-at-login 7 years ago

      created branch 5794-activating-audit-for-action-security-causes-error-at-login

    • Côme Chilliet mentioned in commit bc2e42ba 7 years ago

      mentioned in commit bc2e42ba

    • Côme Chilliet added 30m of time spent at 2018-03-15 7 years ago

      added 30m of time spent at 2018-03-15

    • Côme Chilliet added To Be Tested label 7 years ago

      added To Be Tested label

    • Jonathan Swaelens
      Jonathan Swaelens @jswaelens · 7 years ago
      Developer

      Hello,

      I have another error when I add security in audit plugin.

      La requête LDAP a échoué !
      
      Objet: fdAuditDateTime=20180320085303Z,ou=audit,dc=fusiondirectory,dc=org
      
      Erreur: Object class violation (object class 'fdAuditEvent' requires attribute 'fdAuditObject', lors de l'opération sur 'fdAuditDateTime=20180320085303Z,ou=audit,dc=fusiondirectory,dc=org' en utilisant le serveur LDAP 'ldap://demo-dev.fusiondirectory.org') 

      Cheers.

    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    • Loading
    Please register or sign in to reply
    0 Assignees
    None
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets