On 10/10/2017 02:19 PM, Mark Reynolds
wrote:
On 10/10/2017 01:12 PM, Trevor Fong
wrote:
Oh - 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?
You are not supposed to :-/
You can try stopping the server, then replacing the file in
/usr/dirsrv/share/schema. It looks like it's still pulling it
into: /etc/dirsrv/slapd-eldapdcp1/schema, so you might have to do
it in two locations
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.ldif
How 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.ldif
Thanks,
Trev
|
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx