diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-04-29 15:38:51 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-18 16:54:21 +0100 |
commit | a1eb71768c1b319a16645ac54169b7f0e4c4d411 (patch) | |
tree | 6716bee16bcf001084f1278d1ee18edab3b5d091 /install/share/60samba.ldif | |
parent | 6381d766ceeebdb8ba8e83539a90167d86c7f3ce (diff) | |
download | freeipa-a1eb71768c1b319a16645ac54169b7f0e4c4d411.tar.gz freeipa-a1eb71768c1b319a16645ac54169b7f0e4c4d411.tar.xz freeipa-a1eb71768c1b319a16645ac54169b7f0e4c4d411.zip |
Make schema files conform to new updater
The new schema updater only compares textual representations of schema
elements, as formatted by python-ldap.
This works well, but it is too strict for the current schema files in two ways:
- For attribute names in MAY and MUST, the correct letter case must be used
- AttributeTypes must specify explicit EQUALITY and SYNTAX fields even if
they are the same as its supertype's.
When these restrictions are not followed, the updater will always overwrite
the schema element. This is harmless but it fills up the log unnecessarily.
Modify the schema files to conform to these restrictions.
Part of the work for https://fedorahosted.org/freeipa/ticket/3454
Note: git's --word-diff option is recommended for viewing these changes
Diffstat (limited to 'install/share/60samba.ldif')
-rw-r--r-- | install/share/60samba.ldif | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/share/60samba.ldif b/install/share/60samba.ldif index fdfdab618..bc2d38c55 100644 --- a/install/share/60samba.ldif +++ b/install/share/60samba.ldif @@ -174,7 +174,7 @@ objectClasses: ( 1.3.6.1.4.1.7165.2.2.8 NAME 'sambaIdmapEntry' SUP top AUXILIARY objectClasses: ( 1.3.6.1.4.1.7165.2.2.9 NAME 'sambaSidEntry' SUP top STRUCTURAL DESC 'Structural Class for a SID' MUST ( sambaSID ) ) objectClasses: ( 1.3.6.1.4.1.7165.2.2.10 NAME 'sambaConfig' SUP top AUXILIARY DESC 'Samba Configuration Section' MAY ( description ) ) objectClasses: ( 1.3.6.1.4.1.7165.2.2.11 NAME 'sambaShare' SUP top STRUCTURAL DESC 'Samba Share Section' MUST ( sambaShareName ) MAY ( description ) ) -objectClasses: ( 1.3.6.1.4.1.7165.2.2.12 NAME 'sambaConfigOption' SUP top STRUCTURAL DESC 'Samba Configuration Option' MUST ( sambaOptionName ) MAY ( sambaBoolOption $ sambaIntegerOption $ sambaStringOption $ sambaStringListoption $ description ) ) +objectClasses: ( 1.3.6.1.4.1.7165.2.2.12 NAME 'sambaConfigOption' SUP top STRUCTURAL DESC 'Samba Configuration Option' MUST ( sambaOptionName ) MAY ( sambaBoolOption $ sambaIntegerOption $ sambaStringOption $ sambaStringListOption $ description ) ) ## retired during privilege rewrite ##objectClasses: ( 1.3.6.1.4.1.7165.2.2.13 NAME 'sambaPrivilege' SUP top AUXILIARY ## DESC 'Samba Privilege' |