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

  • New related issue

migration from 1.0.6 to 1.0.7 (update-core-fd-conf.ldif is broken)

Closed

migration from 1.0.6 to 1.0.7 (update-core-fd-conf.ldif is broken)

I did update fusiondirectory from 1.0.6 to 1.0.7. I have done according to the instructions of the migration. All update-*.ldiff files worked without error.

Once I logged in the web UI, I get the following messages: "LDAP error while modify LDAP operation failed! Object: cn=fusiondirectory,ou=configs,dc=ibc,dc=local Error: Object class violation (unrecognized objectClass 'fusionDirectoryPluginsConf', while operating on 'cn=fusiondirectory,ou=configs,dc=domain,dc=local' using LDAP server 'ldap://localhost:389')"

"LDAP error while modify LDAP operation failed! Object: cn=fusiondirectory,ou=configs,dc=ibc,dc=local Error: Invalid syntax - objectClass: fusionDirectoryPluginsConf (objectClass: value #1 invalid per syntax, while operating on 'cn=fusiondirectory,ou=configs,dc=ibc,dc=local' using LDAP server 'ldap://localhost:389') "

(from redmine: issue id 2842, created on 2013-11-11, closed on 2013-11-14)

  • Changesets:
    • Revision e0387a4f by Benoit MORTIER on 2013-11-14T12:15:44.000Z:
Fixes: #2842 migration from 1.0.6 to 1.0.7 (update-core-fd-conf.ldif is broken)
  • Custom Fields:
    • Bug in version: 1.0.7

    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


    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Aleksey Zolotukhin wrote:

      I did update fusiondirectory from 1.0.6 to 1.0.7. I have done according to the instructions of the migration. All update-*.ldiff files worked without error.

      Once I logged in the web UI, I get the following messages: "LDAP error while modify LDAP operation failed! Object: cn=fusiondirectory,ou=configs,dc=ibc,dc=local Error: Object class violation (unrecognized objectClass 'fusionDirectoryPluginsConf', while operating on 'cn=fusiondirectory,ou=configs,dc=domain,dc=local' using LDAP server 'ldap://localhost:389')"

      "LDAP error while modify LDAP operation failed! Object: cn=fusiondirectory,ou=configs,dc=ibc,dc=local Error: Invalid syntax - objectClass: fusionDirectoryPluginsConf (objectClass: value #1 invalid per syntax, while operating on 'cn=fusiondirectory,ou=configs,dc=domain,dc=local' using LDAP server 'ldap://localhost:389') "

      (from redmine: written on 2013-11-11)

      By bmortier on 2017-09-02T15:06:17 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Scheme list: dn: cn={0}core,cn=schema,cn=config dn: cn={1}cosine,cn=schema,cn=config dn: cn={2}nis,cn=schema,cn=config dn: cn={3}inetorgperson,cn=schema,cn=config dn: cn={4}samba,cn=schema,cn=config dn: cn={5}core-fd,cn=schema,cn=config dn: cn={6}core-fd-conf,cn=schema,cn=config dn: cn={7}ldapns,cn=schema,cn=config dn: cn={8}recovery-fd,cn=schema,cn=config dn: cn={9}systems-fd,cn=schema,cn=config dn: cn={10}systems-fd-conf,cn=schema,cn=config dn: cn={11}service-fd,cn=schema,cn=config dn: cn={12}mime-fd,cn=schema,cn=config dn: cn={13}mail-fd-conf,cn=schema,cn=config dn: cn={14}mail-fd,cn=schema,cn=config dn: cn={15}alias-fd-conf,cn=schema,cn=config dn: cn={16}alias-fd,cn=schema,cn=config dn: cn={17}freeradius,cn=schema,cn=config dn: cn={18}dsa-fd-conf,cn=schema,cn=config dn: cn={19}dnszone,cn=schema,cn=config dn: cn={20}argonaut-fd,cn=schema,cn=config

      I deleted all the schemes, starting with the 4th. Restart the server openldap. Then run fusiondirectory-insert-schema and added other schemes in the same order. Restart the server openldap again.

      Now when you are logged in web UI no message appears. But if you go to Configuration - Edit - Ok. That pops up a message.

      "LDAP operation failed! Object: cn=fusiondirectory,ou=configs,dc=domain,dc=local Error: Invalid syntax - objectClass: fdDnsPluginConf (objectClass: value #6 invalid per syntax, while operating on 'cn=fusiondirectory,ou=configs,dc=domain,dc=local' using LDAP server 'ldap://localhost:389') "

      (from redmine: written on 2013-11-11)

      By jakal on 2017-09-02T15:06:17 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      The problem with the last message has been concluded is that, for some reason, was not loading scheme dns-fd-conf.schema. This scheme was missing in my setup in version 1.0.6.

      Maybe the absence of this scheme is the cause of my bug with the migration?

      (from redmine: written on 2013-11-12)

      By jakal on 2017-09-02T15:06:17 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      It seems that after your advice - remove and add the existing schemes - everything worked as it should.

      Error messages do not appear, and all data is correctly displayed. Thank you very much for your attention and assistance!

      (from redmine: written on 2013-11-12)

      By jakal on 2017-09-02T15:06:18 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2013-11-14)

      By bmortier on 2017-09-02T15:06:18 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By bmortier on 2017-09-02T15:06:18 (imported from GitLab)

    Please register or sign in to reply
    0 Assignees
    None
    Assign to
    Labels
    2
    Bugs ldap schema
    2
    Bugs ldap schema
      Assign labels
    • Manage project labels

    Milestone
    FusionDirectory 1.0.7.1
    FusionDirectory 1.0.7.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
    1
    1 Participant
    bmortier
    Reference: fusiondirectory/fd#2842

    Menu

    Explore Projects Groups Topics Snippets