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

  • New related issue

fusiondirectory-insert-schema should be able of inserting .schema files

Closed

fusiondirectory-insert-schema should be able of inserting .schema files

fusiondirectory-insert-schema should directly handle .schema file, convert them and insert them, instead of having the user using fusiondirectory-schema2ldif first.

(from redmine: issue id 1504, created on 2012-11-14, closed on 2013-01-17)

  • Changesets:
    • Revision eb38d80a by Benoit MORTIER on 2012-11-29T08:55:21.000Z:
Fixes: #1504 fusiondirectory-insert-schema should be able of inserting .schema files
  • Revision 0339ab35 by Côme Chilliet on 2013-01-16T15:44:54.000Z:
Fixes: #1504 core schema are now supported as .schema files
  • Revision 0af5dd3f by Côme Chilliet on 2013-01-16T16:41:02.000Z:
Fixes: #1504 Fixed schema2ldif error code and insert-schema man page
  • Revision a4fea885 by Benoit MORTIER on 2013-01-16T16:54:53.000Z:
Fixes: #1504 Fixed schema2ldif error code and insert-schema man page
  • Revision 8bc1629c by Côme Chilliet on 2013-01-17T09:47:18.000Z:
Fixes: #1504 Fixed schema2ldif
  • Custom Fields:
    • Bug in version: 1.0.5
  • Uploads:
    • 0001-Fixes-1504-fusiondirectory-insert-schema-should-be-a.patch
    • 0002-Fixes-1504-core-schema-are-now-supported-as-.schema-.patch
    • 0003-Fixes-1504-Fixed-schema2ldif-error-code-and-insert-s.patch
    • 0004-Fixes-1504-Fixed-schema2ldif.patch

    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 · 12 years ago
      Author Maintainer

      fusiondirectory-insert-schema now calls fusiondirectory-schema2ldif on schema files it gets through -i.

      (from redmine: written on 2012-11-29)

      By Côme Chilliet on 2017-09-02T14:50:51 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello,

      this is working well, it should be doing the same for the core schema of fusiondirectory

      Cheers

      (from redmine: written on 2012-11-29)

      By bmortier on 2017-09-02T14:50:51 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hum, the actual code just takes .schema and convert them to ldif if we explicitly give it a .schema file. With the core schema, it's gonna be different, should we always convert the schema to ldif and then insert them or should we use the ldif if they are already there? What about manually gave file, is it a problem if when doing: fusiondirectory-insert-schema -i somehting.ldif What it actually does is converting something.schema to something.ldif and then insert it?

      (from redmine: written on 2012-12-04)

      By Côme Chilliet on 2017-09-02T14:50:52 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello,

      no that could still be like this, automatically insert the ldif for the convert and use the command to convert .schema to .ldif -> insert for others Schema

      Cheers

      (from redmine: written on 2012-12-04)

      By bmortier on 2017-09-02T14:50:52 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Closing this then

      Close issue

      (from redmine: written on 2012-12-05)

      By Côme Chilliet on 2017-09-02T14:50:52 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      I test it now! fusiondirectory 1.0.5-1~1301161214

      ldif file are created in current directory in my cas /root

      then ldap add failed : no such file

      root@recette-fd:~# fusiondirectory-insert-schema /etc/ldap/schema/fusiondirectory/ -i dhcp.schema dnszone.schema fd-samba-conf.schema gosystem.schema internet2.schema mail-fd.schema supann_2009.schema sympa-fd.schema alias-fd.schema
      Can't open dhcp.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open dnszone.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open fd-samba-conf.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open gosystem.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open internet2.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open mail-fd.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open supann_2009.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open sympa-fd.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      Can't open alias-fd.schema: Aucun fichier ou dossier de ce type at /usr/sbin/fusiondirectory-schema2ldif line 103.
      
      SASL/EXTERNAL authentication started
      SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
      SASL SSF: 0
      executing 'ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/fusiondirectory/dhcp.ldif'/etc/ldap/schema/fusiondirectory/dhcp.ldif: No such file or directory
      
      SASL/EXTERNAL authentication started
      SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
      SASL SSF: 0
      executing 'ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/fusiondirectory/dnszone.ldif'/etc/ldap/schema/fusiondirectory/dnszone.ldif: No such file or directory
      
      SASL/EXTERNAL authentication started
      SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
      SASL SSF: 0
      executing 'ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/fusiondirectory/fd-samba-conf.ldif'/etc/ldap/schema/fusiondirectory/fd-samba-conf.ldif: No such file or directory
      

      so I thinks it isn't really closed

      (from redmine: written on 2013-01-16)

      By agallavardin on 2017-09-02T14:50:53 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello,

      it works on my side did you install the schema packages ?

      fusiondirectory-insert-schema /etc/ldap/schema/fusiondirectory/ -i dhcp.schema

      is wrong

      fusiondirectory-insert-schema -i /etc/ldap/schema/fusiondirectory/dhcp.schema

      is right

      and is not meant to install all the schema at once :)

      Cheers

      (from redmine: written on 2013-01-16)

      By bmortier on 2017-09-02T14:50:53 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      The script needs to support schema files for core schemas too.

      (from redmine: written on 2013-01-16)

      By Côme Chilliet on 2017-09-02T14:50:54 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      With this patch the schema files are used, even for core schema from /etc/ldap/schema/fusiondirectory/.

      Reopen issue

      (from redmine: written on 2013-01-16)

      By Côme Chilliet on 2017-09-02T14:50:54 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      This should fix schema2ldif exit error code and insert-schema man page

      (from redmine: written on 2013-01-16)

      By Côme Chilliet on 2017-09-02T14:50:55 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello,

      the synopsis and the help page are not the same as the rest of the explanations, this is a note to look at this

      Cheers

      (from redmine: written on 2013-01-16)

      By bmortier on 2017-09-02T14:50:55 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello,

      the fix for schema2ldif doesnt work, when i revert it, it works again

      Cheers

      (from redmine: written on 2013-01-16)

      By bmortier on 2017-09-02T14:50:55 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Benoit MORTIER wrote:

      Hello,

      the fix for schema2ldif doesnt work, when i revert it, it works again

      Cheers

      more precisely, schema2ldif get stuck with the patch applied, when reverting it work again

      Cheers

      (from redmine: written on 2013-01-16)

      By bmortier on 2017-09-02T14:50:56 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      This fixes it

      (from redmine: written on 2013-01-17)

      By Côme Chilliet on 2017-09-02T14:50:56 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2013-01-17)

      By bmortier on 2017-09-02T14:50:56 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By Côme Chilliet on 2017-09-02T14:50:52 (imported from GitLab)

    • bmortier reopened 7 years ago

      reopened

      By Côme Chilliet on 2017-09-02T14:50:54 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By bmortier on 2017-09-02T14:50:57 (imported from GitLab)

    • bmortier added Changed PJ1802-0188 fusiondirectory-insert-schema fusiondirectory-schema2ldif labels 6 years ago

      added Changed PJ1802-0188 fusiondirectory-insert-schema fusiondirectory-schema2ldif labels

      By bmortier on 2019-01-29T19:33:44 (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
    Confidentiality
    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:

    Menu

    Explore Projects Groups Topics Snippets