There are several references to
10rfc2307bis.ldif
in the Red Hat Directory Server version 10 "Configuration, Command, and File Reference"5.2.16. automountInformation
This attribute contains information used by the autofs automounter.
Note
The
automountInformation
attribute is defined in 60autofs.ldif
in the Directory Server. To use the updated RFC 2307 schema, remove the 60autofs.ldif
file and copy the 10rfc2307bis.ldif
file from the /usr/share/dirsrv/data
directory to the /etc/dirsrv/slapd-instance/schema
directory.This one talks about replacing
10rfc2307.ldif
with 10rfc2307bis.ldif.
5.2.17. bootFile
This attribute contains the boot image file name.
Note
The
bootFile
attribute is defined in 10rfc2307.ldif
in the Directory Server. To use the updated RFC 2307 schema, remove the 10rfc2307.ldif
file and copy the 10rfc2307bis.ldif
file from the /usr/share/dirsrv/data
directory to the /etc/dirsrv/slapd-instance/schema
directory.I have not needed to do this but I would think that if you do want to use
10rfc2307bis.ldif
you would haveto remove both
60autofs.ldif
and 10rfc2307.ldif
to avoid conflicting (duplicate) attribute definitions.From: "Trevor Fong" <tjfong@xxxxxxxxx>
To: "General discussion list for the 389 Directory server project." <389-users@xxxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, October 10, 2017 12:16:34 PM
Subject: [389-users] Re: New Install Missing Schema FilesOh - I get it now; core schema is now immutably maintained in /usr/share/dirsrv/schema/ and is referenced by each slapd instance.How do I go about overriding the core schema?For example, if I wanted to replace 10rfc2307.ldif with 10rfc2307bis.ldif, what would I do?Previously, we would remove /etc/dirsrv/slapd-<instance>/schema/10rfc2307.ldif and add /etc/dirsrv/slapd-<instance>/schema/10rfc2307bis.ldifHow would we accomplish this now with core schema immutably maintained in /usr/share/dirsrv/schema/?Currently I get the fatal error:[10/Oct/2017:10:07:50.514409639 -0700] - ERR - dse_read_one_file - The entry cn=schema in file /etc/dirsrv/slapd-eldapdcp1/schema/10rfc2307bis.ldif (lineno: 1) is invalid, error code 20 (Type or value exists) - object class nisMap: The name does not match the OID "1.3.6.1.1.1.2.9". Another object class is already using the name or OID.because it clashes with the default /usr/share/dirsrv/schema/10rfc2307.ldifThanks,TrevOn 10 October 2017 at 09:46, Mark Reynolds <mareynol@xxxxxxxxxx> wrote:
On 10/10/2017 12:36 PM, Trevor Fong wrote:
Correct, the core schema stays in /usr/share/dirsrv/schema, while custom schema is in the instance directory.Hi Mark and Michael,
Thanks a lot for your replies.I've run the setup-ds.pl (and also tried setup-ds-admin.pl), /etc/dirsrv/slapd-<instance>/schema only contains 99user.ldif./usr/share/dirsrv/schema does indeed contain all the default schema files, but it doesn't look like they're copied to the instance schema dir.
Are you running into problems?
Trev
On 10 October 2017 at 08:19, Mark Reynolds <mareynol@xxxxxxxxxx> wrote:
On 10/10/2017 11:13 AM, Trevor Fong wrote:
> Hi Everyone,
>
> I just did a new install and it looks like no schema files were included with it?
> I seem to remember that previously, included schema files would be in /etc/dirsrv/schema and would get copied into any new instances that were set up.
> However with this install /etc/dirsrv/schema/ only contained 99user.ldif
> Am I missing something?
Things were changed for the "core" server schema. It should be in
/usr/share/dirsrv/schema
>
> Thanks a lot,
> Trev
>
> Here’s what I did:
>
> [root@eldapdch1 tfong]# uname -a
> Linux eldapdch1 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
> [root@eldapdch1 etc]# yum install 389-ds
> Loaded plugins: rhnplugin, search-disabled-repos
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> Resolving Dependencies
> --> Running transaction check
> ---> Package 389-ds.noarch 0:1.2.2-6.el7 will be installed
> --> Processing Dependency: 389-dsgw for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-ds-console-doc for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-ds-console for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-ds-base for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-console for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-admin-console-doc for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-admin-console for package: 389-ds-1.2.2-6.el7.noarch
> --> Processing Dependency: 389-admin for package: 389-ds-1.2.2-6.el7.noarch
> --> Running transaction check
> ---> Package 389-admin.x86_64 0:1.1.46-1.el7 will be installed
> --> Processing Dependency: libadmsslutil.so.0()(64bit) for package: 389-admin-1.1.46-1.el7.x86_64
> --> Processing Dependency: libadminutil.so.0()(64bit) for package: 389-admin-1.1.46-1.el7.x86_64
> ---> Package 389-admin-console.noarch 0:1.1.12-1.el7 will be installed
> ---> Package 389-admin-console-doc.noarch 0:1.1.12-1.el7 will be installed
> ---> Package 389-console.noarch 0:1.1.18-1.el7 will be installed
> ---> Package 389-ds-base.x86_64 0:1.3.6.1-19.el7_4 will be installed
> --> Processing Dependency: 389-ds-base-libs = 1.3.6.1-19.el7_4 for package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
> --> Processing Dependency: libnunc-stans.so.0()(64bit) for package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
> --> Processing Dependency: libsds.so.0()(64bit) for package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
> --> Processing Dependency: libns-dshttpd-1.3.6.1.so()(64bit) for package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
> --> Processing Dependency: libslapd.so.0()(64bit) for package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
> ---> Package 389-ds-console.noarch 0:1.2.16-1.el7 will be installed
> ---> Package 389-ds-console-doc.noarch 0:1.2.16-1.el7 will be installed
> ---> Package 389-dsgw.x86_64 0:1.1.11-5.el7 will be installed
> --> Running transaction check
> ---> Package 389-adminutil.x86_64 0:1.1.21-2.el7 will be installed
> ---> Package 389-ds-base-libs.x86_64 0:1.3.6.1-19.el7_4 will be installed
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> =========================================================================================================================================================================================================
> Package Arch Version Repository Size
> =========================================================================================================================================================================================================
> Installing:
> 389-ds noarch 1.2.2-6.el7 epel 11 k
> Installing for dependencies:
> 389-admin x86_64 1.1.46-1.el7 epel 391 k
> 389-admin-console noarch 1.1.12-1.el7 epel 204 k
> 389-admin-console-doc noarch 1.1.12-1.el7 epel 45 k
> 389-adminutil x86_64 1.1.21-2.el7 epel 73 k
> 389-console noarch 1.1.18-1.el7 epel 75 k
> 389-ds-base x86_64 1.3.6.1-19.el7_4 rhel-x86_64-server-7 1.7 M
> 389-ds-base-libs x86_64 1.3.6.1-19.el7_4 rhel-x86_64-server-7 678 k
> 389-ds-console noarch 1.2.16-1.el7 epel 1.4 M
> 389-ds-console-doc noarch 1.2.16-1.el7 epel 57 k
> 389-dsgw x86_64 1.1.11-5.el7 epel 513 k
>
> Transaction Summary
> =========================================================================================================================================================================================================
> Install 1 Package (+10 Dependent packages)
>
> Total download size: 5.1 M
> Installed size: 14 M
> Is this ok [y/d/N]: y
> Downloading packages:
> (7/11): 389-ds-base-1.3.6.1-19.el7_4.x86_64.rpm | 1.7 MB 00:00:00
> (8/11): 389-ds-base-libs-1.3.6.1-19.el7_4.x86_64.rpm | 678 kB 00:00:00
> (1/9): 389-admin-1.1.46-1.el7.x86_64.rpm | 391 kB 00:00:00
> (2/9): 389-admin-console-1.1.12-1.el7.noarch.rpm | 204 kB 00:00:00
> (3/9): 389-admin-console-doc-1.1.12-1.el7.noarch.rpm | 45 kB 00:00:00
> (4/9): 389-adminutil-1.1.21-2.el7.x86_64.rpm | 73 kB 00:00:00
> (5/9): 389-console-1.1.18-1.el7.noarch.rpm | 75 kB 00:00:00
> (6/9): 389-ds-1.2.2-6.el7.noarch.rpm | 11 kB 00:00:00
> (7/9): 389-ds-console-1.2.16-1.el7.noarch.rpm | 1.4 MB 00:00:02
> (8/9): 389-ds-console-doc-1.2.16-1.el7.noarch.rpm | 57 kB 00:00:00
> (9/9): 389-dsgw-1.1.11-5.el7.x86_64.rpm | 513 kB 00:00:00
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Total 842 kB/s | 5.1 MB 00:00:06
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
> Installing : 389-adminutil-1.1.21-2.el7.x86_64 1/11
> Installing : 389-console-1.1.18-1.el7.noarch 2/11
> Installing : 389-ds-base-libs-1.3.6.1-19.el7_4.x86_64 3/11
> Installing : 389-ds-base-1.3.6.1-19.el7_4.x86_64 4/11
> Installing : 389-admin-1.1.46-1.el7.x86_64 5/11
> Installing : 389-admin-console-1.1.12-1.el7.noarch 6/11
> Installing : 389-ds-console-1.2.16-1.el7.noarch 7/11
> Installing : 389-ds-console-doc-1.2.16-1.el7.noarch 8/11
> Installing : 389-admin-console-doc-1.1.12-1.el7.noarch 9/11
> Installing : 389-dsgw-1.1.11-5.el7.x86_64 10/11
> Installing : 389-ds-1.2.2-6.el7.noarch 11/11
> Verifying : 389-adminutil-1.1.21-2.el7.x86_64 1/11
> Verifying : 389-dsgw-1.1.11-5.el7.x86_64 2/11
> Verifying : 389-admin-console-doc-1.1.12-1.el7.noarch 3/11
> Verifying : 389-ds-console-doc-1.2.16-1.el7.noarch 4/11
> Verifying : 389-ds-base-1.3.6.1-19.el7_4.x86_64 5/11
> Verifying : 389-admin-console-1.1.12-1.el7.noarch 6/11
> Verifying : 389-ds-base-libs-1.3.6.1-19.el7_4.x86_64 7/11
> Verifying : 389-ds-1.2.2-6.el7.noarch 8/11
> Verifying : 389-ds-console-1.2.16-1.el7.noarch 9/11
> Verifying : 389-admin-1.1.46-1.el7.x86_64 10/11
> Verifying : 389-console-1.1.18-1.el7.noarch 11/11
>
> Installed:
> 389-ds.noarch 0:1.2.2-6.el7
>
> Dependency Installed:
> 389-admin.x86_64 0:1.1.46-1.el7 389-admin-console.noarch 0:1.1.12-1.el7 389-admin-console-doc.noarch 0:1.1.12-1.el7 389-adminutil.x86_64 0:1.1.21-2.el7
> 389-console.noarch 0:1.1.18-1.el7 389-ds-base.x86_64 0:1.3.6.1-19.el7_4 389-ds-base-libs.x86_64 0:1.3.6.1-19.el7_4 389-ds-console.noarch 0:1.2.16-1.el7
> 389-ds-console-doc.noarch 0:1.2.16-1.el7 389-dsgw.x86_64 0:1.1.11-5.el7
>
> Complete!
> [root@eldapdch1 etc]# cd /etc/dirsrv/
> [root@eldapdch1 dirsrv]# ll
> total 4
> drwx------. 2 dirsrv root 4096 Oct 6 14:52 admin-serv
> drwxr-xr-x. 2 root root 79 Oct 6 14:52 config
> drwxr-xr-x. 2 root root 28 Oct 6 14:53 dsgw
> drwxr-xr-x. 2 root root 24 Oct 6 14:52 schema
> [root@eldapdch1 dirsrv]# cd schema/
> [root@eldapdch1 schema]# ll
> total 4
> -rw-r--r--. 1 root root 291 Aug 22 06:32 99user.ldif
> _______________________________________________
> 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
--
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx