Gentoo Archives: gentoo-commits

From: "Fabio Erculiani (lxnay)" <lxnay@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-nds/389-ds-base/files: 0001-Bug-617629-Missing-aliases-in-new-schema-files.patch
Date: Wed, 28 Jul 2010 13:57:03
Message-Id: 20100728135700.A7F102CE15@corvid.gentoo.org
1 lxnay 10/07/28 13:57:00
2
3 Added:
4 0001-Bug-617629-Missing-aliases-in-new-schema-files.patch
5 Log:
6 backport upstream patch from git, see https://bugzilla.redhat.com/show_bug.cgi?id=617629
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-nds/389-ds-base/files/0001-Bug-617629-Missing-aliases-in-new-schema-files.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/389-ds-base/files/0001-Bug-617629-Missing-aliases-in-new-schema-files.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nds/389-ds-base/files/0001-Bug-617629-Missing-aliases-in-new-schema-files.patch?rev=1.1&content-type=text/plain
14
15 Index: 0001-Bug-617629-Missing-aliases-in-new-schema-files.patch
16 ===================================================================
17 From 522cc3a0a06a3c1054f345801b0e9ed3ea5386e3 Mon Sep 17 00:00:00 2001
18 From: Rich Megginson <rmeggins@××××××.com>
19 Date: Fri, 23 Jul 2010 16:03:51 -0600
20 Subject: [PATCH] Bug 617629 - Missing aliases in new schema files
21
22 https://bugzilla.redhat.com/show_bug.cgi?id=617629
23 Resolves: bug 617629
24 Bug Description: Missing aliases in new schema files
25 Reviewed by: ???
26 Branch: master
27 Fix Description: add back the aliases we removed - added a new schema flag
28 X-DEPRECATED - this is a quoted string containing a space separated list
29 of the deprecated aliases for this attribute
30 Platforms tested: RHEL5 x86_64
31 Flag Day: no
32 Doc impact: no
33 ---
34 ldap/schema/00core.ldif | 60 ++++++++++++++++++++++---------------
35 ldap/schema/05rfc4524.ldif | 30 +++++++++++-------
36 ldap/schema/06inetorgperson.ldif | 5 ++-
37 3 files changed, 57 insertions(+), 38 deletions(-)
38
39 diff --git a/ldap/schema/00core.ldif b/ldap/schema/00core.ldif
40 index 3a02192..7f5dab6 100644
41 --- a/ldap/schema/00core.ldif
42 +++ b/ldap/schema/00core.ldif
43 @@ -317,26 +317,29 @@ attributeTypes: ( 2.5.4.15 NAME 'businessCategory'
44 #
45 ################################################################################
46 #
47 -attributeTypes: ( 2.5.4.6 NAME 'c'
48 +attributeTypes: ( 2.5.4.6 NAME ( 'c' 'countryName' )
49 SUP name
50 SYNTAX 1.3.6.1.4.1.1466.115.121.1.11
51 SINGLE-VALUE
52 - X-ORIGIN 'RFC 4519' )
53 + X-ORIGIN 'RFC 4519'
54 + X-DEPRECATED 'countryName' )
55 #
56 ################################################################################
57 #
58 -attributeTypes: ( 2.5.4.3 NAME 'cn'
59 +attributeTypes: ( 2.5.4.3 NAME ( 'cn' 'commonName' )
60 SUP name
61 - X-ORIGIN 'RFC 4519' )
62 + X-ORIGIN 'RFC 4519'
63 + X-DEPRECATED 'commonName' )
64 #
65 ################################################################################
66 #
67 -attributeTypes: ( 0.9.2342.19200300.100.1.25 NAME 'dc'
68 +attributeTypes: ( 0.9.2342.19200300.100.1.25 NAME ( 'dc' 'domaincomponent' )
69 EQUALITY caseIgnoreIA5Match
70 SUBSTR caseIgnoreIA5SubstringsMatch
71 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
72 SINGLE-VALUE
73 - X-ORIGIN 'RFC 4519' )
74 + X-ORIGIN 'RFC 4519'
75 + X-DEPRECATED 'domaincomponent' )
76 #
77 ################################################################################
78 #
79 @@ -356,10 +359,11 @@ attributeTypes: ( 2.5.4.27 NAME 'destinationIndicator'
80 #
81 ################################################################################
82 #
83 -attributeTypes: ( 2.5.4.49 NAME 'distinguishedName'
84 +attributeTypes: ( 2.5.4.49 NAME ( 'distinguishedName' 'dn' )
85 EQUALITY distinguishedNameMatch
86 SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
87 - X-ORIGIN 'RFC 4519' )
88 + X-ORIGIN 'RFC 4519'
89 + X-DEPRECATED 'dn' )
90 #
91 ################################################################################
92 #
93 @@ -378,9 +382,10 @@ attributeTypes: ( 2.5.4.47 NAME 'enhancedSearchGuide'
94 #
95 ################################################################################
96 #
97 -attributeTypes: ( 2.5.4.23 NAME 'facsimileTelephoneNumber'
98 +attributeTypes: ( 2.5.4.23 NAME ( 'facsimileTelephoneNumber' 'fax' )
99 SYNTAX 1.3.6.1.4.1.1466.115.121.1.22
100 - X-ORIGIN 'RFC 4519' )
101 + X-ORIGIN 'RFC 4519'
102 + X-DEPRECATED 'fax' )
103 #
104 ################################################################################
105 #
106 @@ -418,9 +423,10 @@ attributeTypes: ( 2.5.4.25 NAME 'internationalISDNNumber'
107 #
108 ################################################################################
109 #
110 -attributeTypes: ( 2.5.4.7 NAME 'l'
111 +attributeTypes: ( 2.5.4.7 NAME ( 'l' 'locality' 'localityname' )
112 SUP name
113 - X-ORIGIN 'RFC 4519' )
114 + X-ORIGIN 'RFC 4519'
115 + X-DEPRECATED 'locality localityname' )
116 #
117 ################################################################################
118 #
119 @@ -430,15 +436,17 @@ attributeTypes: ( 2.5.4.31 NAME 'member'
120 #
121 ################################################################################
122 #
123 -attributeTypes: ( 2.5.4.10 NAME 'o'
124 +attributeTypes: ( 2.5.4.10 NAME ( 'o' 'organizationname' )
125 SUP name
126 - X-ORIGIN 'RFC 4519' )
127 + X-ORIGIN 'RFC 4519'
128 + X-DEPRECATED 'organizationname' )
129 #
130 ################################################################################
131 #
132 -attributeTypes: ( 2.5.4.11 NAME 'ou'
133 +attributeTypes: ( 2.5.4.11 NAME ( 'ou' 'organizationalUnitName' )
134 SUP name
135 - X-ORIGIN 'RFC 4519' )
136 + X-ORIGIN 'RFC 4519'
137 + X-DEPRECATED 'organizationalUnitName' )
138 #
139 ################################################################################
140 #
141 @@ -520,23 +528,26 @@ attributeTypes: ( 2.5.4.5 NAME 'serialNumber'
142 #
143 ################################################################################
144 #
145 -attributeTypes: ( 2.5.4.4 NAME 'sn'
146 +attributeTypes: ( 2.5.4.4 NAME ( 'sn' 'surName' )
147 SUP name
148 - X-ORIGIN 'RFC 4519' )
149 + X-ORIGIN 'RFC 4519'
150 + X-DEPRECATED 'surName' )
151 #
152 ################################################################################
153 #
154 -attributeTypes: ( 2.5.4.8 NAME 'st'
155 +attributeTypes: ( 2.5.4.8 NAME ( 'st' 'stateOrProvinceName' )
156 SUP name
157 - X-ORIGIN 'RFC 4519' )
158 + X-ORIGIN 'RFC 4519'
159 + X-DEPRECATED 'stateOrProvinceName' )
160 #
161 ################################################################################
162 #
163 -attributeTypes: ( 2.5.4.9 NAME 'street'
164 +attributeTypes: ( 2.5.4.9 NAME ( 'street' 'streetaddress' )
165 EQUALITY caseIgnoreMatch
166 SUBSTR caseIgnoreSubstringsMatch
167 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
168 - X-ORIGIN 'RFC 4519' )
169 + X-ORIGIN 'RFC 4519'
170 + X-DEPRECATED 'streetaddress' )
171 #
172 ################################################################################
173 #
174 @@ -566,11 +577,12 @@ attributeTypes: ( 2.5.4.12 NAME 'title'
175 #
176 ################################################################################
177 #
178 -attributeTypes: ( 0.9.2342.19200300.100.1.1 NAME 'uid'
179 +attributeTypes: ( 0.9.2342.19200300.100.1.1 NAME ( 'uid' 'userid' )
180 EQUALITY caseIgnoreMatch
181 SUBSTR caseIgnoreSubstringsMatch
182 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
183 - X-ORIGIN 'RFC 4519' )
184 + X-ORIGIN 'RFC 4519'
185 + X-DEPRECATED 'userid' )
186 #
187 ################################################################################
188 #
189 diff --git a/ldap/schema/05rfc4524.ldif b/ldap/schema/05rfc4524.ldif
190 index e666368..ca6073a 100644
191 --- a/ldap/schema/05rfc4524.ldif
192 +++ b/ldap/schema/05rfc4524.ldif
193 @@ -28,11 +28,12 @@ attributeTypes: ( 0.9.2342.19200300.100.1.48 NAME 'buildingName'
194 #
195 ################################################################################
196 #
197 -attributeTypes: ( 0.9.2342.19200300.100.1.43 NAME 'co'
198 +attributeTypes: ( 0.9.2342.19200300.100.1.43 NAME ( 'co' 'friendlycountryname' )
199 EQUALITY caseIgnoreMatch
200 SUBSTR caseIgnoreSubstringsMatch
201 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
202 - X-ORIGIN 'RFC 4524' )
203 + X-ORIGIN 'RFC 4524'
204 + X-DEPRECATED 'friendlycountryname' )
205 #
206 ################################################################################
207 #
208 @@ -83,19 +84,21 @@ attributeTypes: ( 0.9.2342.19200300.100.1.13 NAME 'documentVersion'
209 #
210 ################################################################################
211 #
212 -attributeTypes: ( 0.9.2342.19200300.100.1.5 NAME 'drink'
213 +attributeTypes: ( 0.9.2342.19200300.100.1.5 NAME ( 'drink' 'favouriteDrink' )
214 EQUALITY caseIgnoreMatch
215 SUBSTR caseIgnoreSubstringsMatch
216 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
217 - X-ORIGIN 'RFC 4524' )
218 + X-ORIGIN 'RFC 4524'
219 + X-DEPRECATED 'favouriteDrink' )
220 #
221 ################################################################################
222 #
223 -attributeTypes: ( 0.9.2342.19200300.100.1.20 NAME 'homePhone'
224 +attributeTypes: ( 0.9.2342.19200300.100.1.20 NAME ( 'homePhone' 'homeTelephoneNumber' )
225 EQUALITY telephoneNumberMatch
226 SUBSTR telephoneNumberSubstringsMatch
227 SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
228 - X-ORIGIN 'RFC 4524' )
229 + X-ORIGIN 'RFC 4524'
230 + X-DEPRECATED 'homeTelephoneNumber' )
231 #
232 ################################################################################
233 #
234 @@ -123,11 +126,12 @@ attributeTypes: ( 0.9.2342.19200300.100.1.4 NAME 'info'
235 #
236 ################################################################################
237 #
238 -attributeTypes: ( 0.9.2342.19200300.100.1.3 NAME 'mail'
239 +attributeTypes: ( 0.9.2342.19200300.100.1.3 NAME ( 'mail' 'rfc822mailbox' )
240 EQUALITY caseIgnoreIA5Match
241 SUBSTR caseIgnoreIA5SubstringsMatch
242 SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
243 - X-ORIGIN 'RFC 4524' )
244 + X-ORIGIN 'RFC 4524'
245 + X-DEPRECATED 'rfc822mailbox' )
246 #
247 ################################################################################
248 #
249 @@ -138,11 +142,12 @@ attributeTypes: ( 0.9.2342.19200300.100.1.10 NAME 'manager'
250 #
251 ################################################################################
252 #
253 -attributeTypes: ( 0.9.2342.19200300.100.1.41 NAME 'mobile'
254 +attributeTypes: ( 0.9.2342.19200300.100.1.41 NAME ( 'mobile' 'mobileTelephoneNumber' )
255 EQUALITY telephoneNumberMatch
256 SUBSTR telephoneNumberSubstringsMatch
257 SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
258 - X-ORIGIN 'RFC 4524' )
259 + X-ORIGIN 'RFC 4524'
260 + X-DEPRECATED 'mobileTelephoneNumber' )
261 #
262 ################################################################################
263 #
264 @@ -154,11 +159,12 @@ attributeTypes: ( 0.9.2342.19200300.100.1.45 NAME 'organizationalStatus'
265 #
266 ################################################################################
267 #
268 -attributeTypes: ( 0.9.2342.19200300.100.1.42 NAME 'pager'
269 +attributeTypes: ( 0.9.2342.19200300.100.1.42 NAME ( 'pager' 'pagerTelephoneNumber' )
270 EQUALITY telephoneNumberMatch
271 SUBSTR telephoneNumberSubstringsMatch
272 SYNTAX 1.3.6.1.4.1.1466.115.121.1.50
273 - X-ORIGIN 'RFC 4524' )
274 + X-ORIGIN 'RFC 4524'
275 + X-DEPRECATED 'pagerTelephoneNumber' )
276 #
277 ################################################################################
278 #
279 diff --git a/ldap/schema/06inetorgperson.ldif b/ldap/schema/06inetorgperson.ldif
280 index 9eb9765..96474f2 100644
281 --- a/ldap/schema/06inetorgperson.ldif
282 +++ b/ldap/schema/06inetorgperson.ldif
283 @@ -109,11 +109,12 @@ attributeTypes: ( 0.9.2342.19200300.100.1.7 NAME 'photo'
284 #
285 ################################################################################
286 #
287 -attributeTypes: ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
288 +attributeTypes: ( 1.3.6.1.4.1.250.1.57 NAME ( 'labeledURI' 'labeledurl' )
289 EQUALITY caseExactMatch
290 SUBSTR caseExactSubstringsMatch
291 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
292 - X-ORIGIN 'RFC 2079' )
293 + X-ORIGIN 'RFC 2079'
294 + X-DEPRECATED 'labeledurl' )
295 #
296 ################################################################################
297 #
298 --
299 1.5.5.6