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
  • #5759
Closed
Open
Issue created 7 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Unclear "Invalid objectType" errors

Closed

Unclear "Invalid objectType" errors

Description

Today I got this kind of error:

 DEBUG[1] (/usr/share/fusiondirectory/include/class_filterLDAP.inc:get_list():165) - Invalid objectType given!: 'cn=testgroupsync,ou=groups,dc=ow2,dc=org'
Unknown element type specified!

The DNs showed in the message above vary depending on which section I browse (Users, Groups and Roles, Departements)

Then as I'm stuck there, I try to reload https://fusiondirectory.domain.com and get either the login form or the red message with inside "Cannot bind to LDAP" (I don't remember the exact sentence).

Distribution Name and Version

Debian 9.3

FusionDirectory Version

1.2-1

PHP version used

PHP 7.0 (fpm)

Origin of php packages

fusiondirectory repository

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

fusiondirectory extra repository

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

Click to see installed Packages:

ii  fusiondirectory                          1.2-1                                        all          Web Based LDAP Administration Program
ii  fusiondirectory-plugin-community         1.2-1                                        all          community plugin for FusionDirectory
ii  fusiondirectory-plugin-community-schema  1.2-1                                        all          LDAP schema for FusionDirectory community plugin
ii  fusiondirectory-plugin-dsa               1.2-1                                        all          dsa plugin for FusionDirectory
ii  fusiondirectory-plugin-dsa-schema        1.2-1                                        all          LDAP schema for FusionDirectory dsa plugin
ii  fusiondirectory-plugin-ldapdump          1.2-1                                        all          ldapdump plugin for FusionDirectory
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-newsletter        1.2-1                                        all          newsletter plugin for FusionDirectory
ii  fusiondirectory-plugin-newsletter-schema 1.2-1                                        all          LDAP schema for FusionDirectory newsletter plugin
ii  fusiondirectory-plugin-personal          1.2-1                                        all          Personal plugin for FusionDirectory
ii  fusiondirectory-plugin-personal-schema   1.2-1                                        all          LDAP schema for FusionDirectory personal Plugin
ii  fusiondirectory-plugin-posix             1.2-1                                        all          posix account and group plugin for FusionDirectory
ii  fusiondirectory-plugin-webservice        1.2-1                                        all          webservice plugin for FusionDirectory
ii  fusiondirectory-plugin-webservice-schema 1.2-1                                        all          schema for the webservice 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

Steps to Reproduce

Cannot reproduce It happened suddendly The issue can be solved by cleaning the browser cache.

Edited 7 years ago
An error occurred while loading designs. Please try again.

Tasks

0
Cannot read properties of undefined (reading 'workItem')

Linked items
0

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

Activity


  • bmortier assigned to @MCMic 7 years ago

    assigned to @MCMic

    By bmortier on 2018-02-06T16:05:31 (imported from GitLab)

  • bmortier created branch 5759-invalid-objecttype-cannot-bind-to-ldap-browser-cache 7 years ago

    created branch 5759-invalid-objecttype-cannot-bind-to-ldap-browser-cache

    By Côme Chilliet on 2018-02-07T09:26:11 (imported from GitLab)

  • bmortier mentioned in merge request !122 7 years ago

    mentioned in merge request !122

    By Côme Chilliet on 2018-02-07T09:26:13 (imported from GitLab)

  • bmortier mentioned in commit f8a10bad 7 years ago

    mentioned in commit f8a10bad

    By Côme Chilliet on 2018-02-07T09:51:27 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 7 years ago
    Author Maintainer

    Thanks @MCMic, For the record it seems I had a misconfiguration with my setup. This box was initially installed with PHP5 (as suspected by @bmortier) then was installed with PHP7 (in July 2017). The file shipped with FD mention:

    <IfModule mod_php5.c>
    <Location /fusiondirectory>
    ...

    Where mine was:

    <IfModule mod_php5.c>
    <Directory /usr/share/fusiondirectory/html/>
    ...

    Consequence is the Directory above wasn't taken into account. To (apparently) solve the issue I've moved it to:

    <IfModule mod_php7.c>
    <Directory /usr/share/fusiondirectory/html/>

    Changing the number is a manual step to follow, not to forget :)

    Besides, is there a particular reason for the shipped configuration to use <Location> rather than <Directory> ?

    By mhamant on 2018-02-12T15:46:51 (imported from GitLab)

    Edited 7 years ago by bmortier
  • bmortier changed milestone to %FusionDirectory 1.3 7 years ago

    changed milestone to %FusionDirectory 1.3

    By bmortier on 2018-02-12T15:51:11 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 7 years ago
    Author Maintainer

    hello,

    it use location because it just appears as http://yourhostname/fusiondirectory. The basic config doesnt manage virtual host

    Cheers

    By bmortier on 2018-02-12T15:51:19 (imported from GitLab)

  • bmortier added 5m of time spent at 2018-02-12 7 years ago

    added 5m of time spent at 2018-02-12

    By bmortier on 2018-02-12T15:51:29 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 7 years ago
    Author Maintainer

    Well, my point is /usr/share/fusiondirectory/html/ is a static path so at anytime PHP values should be applied to it regardless of the URL suffix used. So I'd choose Directory here. My 2 cents. I think this issue can be closed.

    By mhamant on 2018-02-12T15:57:58 (imported from GitLab)

  • bmortier added packaging label 7 years ago

    added packaging label

    By Côme Chilliet on 2018-02-13T09:08:59 (imported from GitLab)

  • bmortier assigned to @bmortier and unassigned @MCMic 7 years ago

    assigned to @bmortier and unassigned @MCMic

    By Côme Chilliet on 2018-02-13T09:09:12 (imported from GitLab)

  • bmortier added PJ1802-0188 label 7 years ago

    added PJ1802-0188 label

    By bmortier on 2018-03-17T21:23:17 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 7 years ago
    Author Maintainer

    hello,

    @MCMic i think the patch should be backported to 1.2-fixes as this clarify the error

    Cheers

    By bmortier on 2018-03-17T21:25:47 (imported from GitLab)

  • bmortier added fixes label 7 years ago

    added fixes label

    By Côme Chilliet on 2018-03-19T09:04:31 (imported from GitLab)

  • bmortier mentioned in merge request !168 7 years ago

    mentioned in merge request !168

    By Côme Chilliet on 2018-03-19T09:05:15 (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-19T09:51:46 (imported from GitLab)

  • bmortier added 20m of time spent at 2018-03-19 7 years ago

    added 20m of time spent at 2018-03-19

    By Côme Chilliet on 2018-03-19T09:51:53 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 7 years ago
    Author Maintainer

    Well, it seems that I still get the error "Unknown element type specified!" sometimes, and the only workaround is to clear the cookie from the dev pane. I'm having a hard time to reproduce. I need to try 1.2-fixes before going further I think.

    By mhamant on 2018-03-20T14:21:41 (imported from GitLab)

  • bmortier changed title from Invalid objectType / Cannot bind to LDAP / browser cache to Unclear "Invalid objectType" errors 7 years ago

    changed title from Invalid objectType / Cannot bind to LDAP / browser cache to Unclear "Invalid objectType" errors

    By Côme Chilliet on 2018-04-03T12:37:40 (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:37:44 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 7 years ago
    Author Maintainer

    @mhow2 If you manage to reproduce please open an other ticket targetted at 1.3 with the details (you should have a trace available thanks to the changes in this one).

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

  • bmortier closed 7 years ago

    closed

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

  • bmortier added 5m of time spent at 2018-04-03 7 years ago

    added 5m of time spent at 2018-04-03

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

  • bmortier added Fixed label 7 years ago

    added Fixed label

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

  • bmortier mentioned in issue #5838 7 years ago

    mentioned in issue #5838

    By bmortier on 2018-05-11T16:52:54 (imported from GitLab)

Please register or sign in to reply
Assignee
bmortier's avatar
bmortier
Assign to
Labels
3
FSA-0004 Security fusiondirectory-core
3
FSA-0004 Security fusiondirectory-core
    Assign labels
  • Manage project labels

Milestone
FusionDirectory 1.0.8.1
FusionDirectory 1.0.8.1 (expired)
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: fusiondirectory/fd#3227

Menu

Explore Projects Groups Topics Snippets