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 fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5800
Something went wrong while setting issue due date.
Closed
Open
Issue created 7 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Unclear LDAP errors when DN creation fails

Closed

Unclear LDAP errors when DN creation fails

Description

i have an installation with the audit plugin installed, an regulary a get this a the end of a delete of objects or cancel of a template.

La requête LDAP a échoué !

Objet: none

Erreur: Invalid DN syntax (invalid DN, lors de l'opération sur 'none' en utilisant le serveur LDAP 'ldaps://ldap1-test.campus-condorcet.fr')

Distribution Name and Version

Debian stretch

FusionDirectory Version

1.2-fixes

PHP version used

PHP 7.0.27-0+deb9u1 (cli) (built: Jan 5 2018 13:51:52) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.27-0+deb9u1, Copyright (c) 1999-2017, by Zend Technologies

Origin of php packages

Debian stretch

Steps to Reproduce

Not easy to repoduced but happen in certain ocassion, like cancel an apply template, end of a delete or move

Expected behavior:

No error show be happening

Actual behavior:

Get a red alert message

La requête LDAP a échoué !

Objet: none

Erreur: Invalid DN syntax (invalid DN, lors de l'opération sur 'none' en utilisant le serveur LDAP 'ldaps://ldap1-test.campus-condorcet.fr')

Reproduces how often:

30% time

Additional Information

Edited 7 years ago

Tasks

0

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

Linked items
...

    Activity


    • bmortier added Bug in version:1.2 label 7 years ago

      added Bug in version:1.2 label

      By bmortier on 2018-03-22T12:39:42 (imported from GitLab)

    • bmortier added ~590 label 7 years ago

      added ~590 label

      By bmortier on 2018-03-22T12:39:52 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 7 years ago
      Author Maintainer

      Audit is active for which actions?

      By Côme Chilliet on 2018-03-26T14:00:55 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 7 years ago
      Author Maintainer

      hello,

      we have :

      • modify
      • create
      • remove

      By bmortier on 2018-03-26T14:07:41 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 7 years ago
      Author Maintainer

      Found the source: When create_unique_dn fails, it returns "none".

      So it means that audit is creating an object but cannot find any unique combination of fields to use for the DN. That means at the same date and time the same action by the same user was logged twice.

      We need at least to change this 'none' behavior and make sure to show a proper error in this case. But also we need to look into how this can happen and if maybe the audit should just ignore the error in this case.

      By Côme Chilliet on 2018-03-27T09:33:56 (imported from GitLab)

    • bmortier created branch 5800-in-certain-occasion-like-cancel-an-apply-template-end-of-a-delete-or-move-i-got-an-ldap-error 7 years ago

      created branch 5800-in-certain-occasion-like-cancel-an-apply-template-end-of-a-delete-or-move-i-got-an-ldap-error

      By Côme Chilliet on 2018-03-27T10:00:35 (imported from GitLab)

    • bmortier mentioned in merge request !191 7 years ago

      mentioned in merge request !191

      By Côme Chilliet on 2018-03-27T10:00:36 (imported from GitLab)

    • bmortier mentioned in commit 8ee44b68 7 years ago

      mentioned in commit 8ee44b68

      By Côme Chilliet on 2018-03-27T10:02:25 (imported from GitLab)

    • bmortier mentioned in merge request !195 7 years ago

      mentioned in merge request !195

      By Côme Chilliet on 2018-03-29T09:25:12 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 7 years ago
      Author Maintainer

      This error fix should be merged in 1.2-fixes

      By Côme Chilliet on 2018-03-29T09:26:01 (imported from GitLab)

    • bmortier added fixes label 7 years ago

      added fixes label

      By Côme Chilliet on 2018-03-29T09:26:01 (imported from GitLab)

    • bmortier added fixes-merged and removed fixes labels 7 years ago

      added fixes-merged and removed fixes labels

      By Côme Chilliet on 2018-03-29T09:42:46 (imported from GitLab)

    • bmortier changed title from In certain occasion, like cancel an apply template, end of a delete or move i got an ldap error to Unclear LDAP errors when DN creation fails 7 years ago

      changed title from In certain occasion, like cancel an apply template, end of a delete or move i got an ldap error to Unclear LDAP errors when DN creation fails

      By Côme Chilliet on 2018-04-03T12:40:32 (imported from GitLab)

    • bmortier changed milestone to %FusionDirectory 1.2.1 7 years ago

      changed milestone to %FusionDirectory 1.2.1

      By Côme Chilliet on 2018-04-03T12:41:02 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 7 years ago
      Author Maintainer

      I will open another ticket for 1.3

      By Côme Chilliet on 2018-04-03T12:41:35 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By Côme Chilliet on 2018-04-03T12:41:35 (imported from GitLab)

    • bmortier added 1h of time spent at 2018-04-03 7 years ago

      added 1h of time spent at 2018-04-03

      By Côme Chilliet on 2018-04-03T12:41:37 (imported from GitLab)

    • bmortier added Fixed label 7 years ago

      added Fixed label

      By Côme Chilliet on 2018-04-03T12:41:37 (imported from GitLab)

    • bmortier mentioned in issue fd-plugins#5802 (closed) 7 years ago

      mentioned in issue fd-plugins#5802 (closed)

      By Côme Chilliet on 2018-04-03T12:45:20 (imported from GitLab)

    • bmortier mentioned in issue #5817 7 years ago

      mentioned in issue #5817

      By Côme Chilliet on 2018-04-17T14:44:25 (imported from GitLab)

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    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