Updating schema

(Updated after fixing formatting) (Updated after modifying Schema master replication statement) This is a slightly modified and updated version of my previous post regarding Exchange 2007.

Note before we begin: It was once considered best practice to disable outbound replication on the Schema master before conducting schema upgrades.

*olc Object Classes: ( 1.3.6.1.4.1.14092.2.2.8 NAME 'URIEducmanager' DESC 'URI** ** Educmanager' STRUCTURAL MAY ( uid $ user Password $ employee Number $ cn $ sn $** ** givenname $ telephone Number $ dc ) )* olc Object Classes: ( 1.3.6.1.4.1.14092.2.2.9 NAME 'URIEdusakaiperson' DESC' URIEdusakaiperson' STRUCTURAL MUST ( URIEduemplid $ URIEduecampusid $ URIEdus n $ URIEdustatus $ user Password ) MAY ( mail $ URIEdugn ) ) I need to update the URIEducmanager objectclass to include the mail object so it will be: olc Object Classes: ( 1.3.6.1.4.1.14092.2.2.8 NAME 'URIEducmanager' DESC 'URI Educmanager' STRUCTURAL MAY ( uid $ user Password $ employee Number $ cn $ sn $ givenname $ mail $ telephone Number $ dc ) ) I have tried many combinations the last of which is ldapmodify -D "cn=admin,cn=config" -x -W -f /root/ldapscripts/-v -H ldap://edu where contains: dn: cn=uri,cn=schema,cn=config changetype: modify delete: objectclass objectclass: ( 1.3.6.1.4.1.14092.2.2.8 NAME 'URIEducmanager' DESC 'URIEducmanager' STRUCTURAL MAY ( uid $ user Password $ employee Number $ cn $ sn $givenname $ telephone Number $ dc ) ) - add: objectclass objectclass: ( 1.3.6.1.4.1.14092.2.2.8 NAME 'URIEducmanager' DESC 'URIEducmanager' SUP top AUXILIARY STRUCTURAL MAY ( uid $ user Password $ employee Number $ cn $ sn $givenname $ mail $ telephone Number $ dc ) ) I don't think that this ancient version ( released 2010/06/30) will support runtime modification of schemas.

But you may try ldapmodify -b cn=uri,cn=schema,cn=config changetype: modify replace: object Classes object Classes: (1.3.6.1.4.1.14092 .....

However, this is no longer considered a best practice.

It is recommended though, that you test application of the service pack in a lab environment before applying.

When it finishes processing the schema upgrade it applies delayed replication events and synchronizes itself with the cluster.

There are various methods for doing so, and they most often consist of a process of applying SQL DDL to the schema and then when necessary a specific script to move data around.

When sent by target, indicates the approximate expiration of lock. The schema in which the record (in element 'record') is transferred.

The schema Id is optional and may be omitted if the origin and target have a prior agreement of what schema will be used.

This retrieval schema, for use with the Update Extended Service, models a database record as the actual record together with a few additional fields to support Update functions such as record locking.

Note: When a database record is formatted for transfer, these fields may be included in the transfer record; whether any of these supplementary fields are maintained as part of the physical database record, or whether the fields are dynamically created when constructing a transfer record, is not within the scope of this definition.

271

Leave a Reply