Re: (ITS#7389) [PATCH] MozNSS: load certificates from certdb, fallback to PEM
by jvcelak@redhat.com
I'm sorry, there is an updated version of the patch:
ftp://ftp.openldap.org/incoming/jvcelak-20121031-update-moznss-load-certs...
The attached file is derived from OpenLDAP Software. All of the modifications to OpenLDAP Software represented in the following patch(es) were developed by Red Hat. Red Hat has not assigned rights and/or interest in this work to any party. I, Jan Vcelak am authorized by Red Hat, my employer, to release this work under the following terms.
Red Hat hereby place the following modifications to OpenLDAP Software (and only these modifications) into the public domain. Hence, these modifications may be freely used and/or redistributed for any purpose with or without attribution and/or other notice.
10 years, 11 months
Re: (ITS#7367) [PATCH] MozNSS: update list of supported cipher suites
by hyc@symas.com
Rich Megginson wrote:
> On 10/03/2012 10:18 AM, Howard Chu wrote:
>> Thanks for your comments, Rich.
>>> Maybe we could use nss_compat_ossl to do the mapping of cipher names
>>> from openssl to moznss?
>>
>> That makes sense to me, although if as you say it hasn't been actively
>> maintained, that sounds like another problem. But certainly if other
>> apps are using it, then aren't they going to want new cipher suite
>> support too?
>>
> Yes, and imho nss_compat_ossl is the place to do this.
>
> But, would it be possible to update the cipher suite list in tls_m.c
> first, to bring it up to date, then work on updating the compat library?
I discussed this with Kurt; the Project's policy on issues like this in the
past has been not to commit any backward-compatibility fixes of this sort
until the real fix has already been released. I.e., we should wait until
nss_compat_ossl has been updated.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
10 years, 11 months
Re: (ITS#7423) [PATCH] Update slapo-constraint tests
by michael@stroeder.com
This is a cryptographically signed message in MIME format.
--------------ms040205010803070807010603
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
jsynacek(a)redhat.com wrote:
> On 10/27/2012 12:53 PM, Michael Str=F6der wrote:
>> jsynacek(a)redhat.com wrote:
>>> This patch updates the slapo-constraint testsuit. It adds additional =
tests for
>>> any constraints using 'uri'. Furthermore, it improves testing of the =
'restrict'
>>> parameter.
>>
>> In my RE24 working tree:
>>
>> git apply --stat jsynacek-20121025-constraint-tests-update.patch
>>
>> Then I expected
>> ./run -b hdb test064 to fail (without the patch in ITS#7418) but it re=
turned
>> "Test succeeded".
> I'm sorry, one hunk didn't apply correctly.
>=20
> New URL:
> ftp://ftp.openldap.org/incoming/jsynacek-20121029-constraint-tests-upda=
te.patch
>=20
> All the tests should fail without the patch in ITS#7418.
I can confirm that it now works as expected. Thank you.
Ciao, Michael.
--------------ms040205010803070807010603
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIILHzCC
BT8wggQnoAMCAQICDwCmSwABAAIAivjZQ8SBvzANBgkqhkiG9w0BAQUFADB8MQswCQYDVQQG
EwJERTEcMBoGA1UEChMTVEMgVHJ1c3RDZW50ZXIgR21iSDElMCMGA1UECxMcVEMgVHJ1c3RD
ZW50ZXIgQ2xhc3MgMSBMMSBDQTEoMCYGA1UEAxMfVEMgVHJ1c3RDZW50ZXIgQ2xhc3MgMSBM
MSBDQSBJWDAeFw0xMjA2MDYxOTAyMTZaFw0xMzA2MDcxOTAyMTZaMCgxCzAJBgNVBAYTAkRF
MRkwFwYDVQQDDBBNaWNoYWVsIFN0csO2ZGVyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAxXZGav40rnGNLxEggBW94MILWHlfC8a23Jew5U1gPlfRTXOjjzmoaZ1uCyGdgF6M
VvuO9T1aTQNGH+OdeGe3P7Tfc/NsLJFJ2wtd8blvhmodUgse2eypiWjNOd4gZuhalBhgsQ0K
b5D6/1foghII4E264iZlJ7AJ+UYcO+GxvFWT0YMTbLckgDkZk7c3qwTozdhYvXarvqx+8Ou/
kuxpQQhac/ebzxpu0N+RHSf2KIUS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JIZSkfvVFhamuAO86D96VPsdU+rA
+S6eohY9eGJwYHJJ+TqqVQXC7vl2odxBCLePbAkKVRaqTrgC3Mhl400pCWSVKVQjowGoVhfr
xTSb1KGR09j4HnCGZhSSyTxHXTkQzrAIfY0ug8MFzliznTvI3WL+u1liy72a3sGn6HpZVCwe
OgbIsv5Qz9PdtPuLRUNDmXLMP3dRZf0zoMpTtWZjEqgNifBUY9+mDlKUPaf1JHulz9FMdBU/
Qs7uTpByT7X52C4Oe5X9KlwmcdaLBYg3Z2NytP7m6pBPGQXT/iHIuRTYfwAAAAAAAA==
--------------ms040205010803070807010603--
10 years, 11 months
Re: (ITS#7423) [PATCH] Update slapo-constraint tests
by Sascha.Kuehndel@deka.de
--_000_F12A906A1F17554CB9CDFC8F4779F3C469A05BD7F1EXCCREX9dekag_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello Jan,
i tested the test-cases:
without patch in 7418, all test cases of test064-constraint failed.
with patch in 7418, test064-constraint was successful.
Bye,
Sascha
--_000_F12A906A1F17554CB9CDFC8F4779F3C469A05BD7F1EXCCREX9dekag_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Diso-8859-1"><meta name=3DGenerator content=3D"Micr=
osoft Word 14 (filtered medium)"><style><!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Arial","sans-serif";
mso-fareast-language:EN-US;}
h1
{mso-style-priority:9;
mso-style-link:"=DCberschrift 1 Zchn";
margin-top:24.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
page-break-after:avoid;
font-size:12.0pt;
font-family:"Arial","sans-serif";
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.berschrift1Zchn
{mso-style-name:"=DCberschrift 1 Zchn";
mso-style-priority:9;
mso-style-link:"=DCberschrift 1";
font-family:"Arial","sans-serif";
color:black;
font-weight:bold;}
span.E-MailFormatvorlage18
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Arial","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DDE link=3Dblue vlink=
=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US=
style=3D'font-size:11.0pt'>Hello Jan,<o:p></o:p></span></p><p class=3DMsoN=
ormal><span lang=3DEN-US style=3D'font-size:11.0pt'><o:p> </o:p></span=
></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>i t=
ested the test-cases:<o:p></o:p></span></p><p class=3DMsoNormal><span lang=
=3DEN-US style=3D'font-size:11.0pt'><o:p> </o:p></span></p><p class=3D=
MsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>without patch in 74=
18, all test cases of test064-constraint failed.<o:p></o:p></span></p><p cl=
ass=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>with patch in=
7418, test064-constraint was successful.<o:p></o:p></span></p><p class=3DM=
soNormal><span lang=3DEN-US style=3D'font-size:11.0pt'><o:p> </o:p></s=
pan></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'font-size:11.0pt'>=
Bye,<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US style=3D'=
font-size:11.0pt'>Sascha<o:p></o:p></span></p></div></body></html>=
--_000_F12A906A1F17554CB9CDFC8F4779F3C469A05BD7F1EXCCREX9dekag_--
10 years, 11 months
Re: (ITS#7423) [PATCH] Update slapo-constraint tests
by jsynacek@redhat.com
On 10/27/2012 12:53 PM, Michael Ströder wrote:
> jsynacek(a)redhat.com wrote:
>> This patch updates the slapo-constraint testsuit. It adds additional tests for
>> any constraints using 'uri'. Furthermore, it improves testing of the 'restrict'
>> parameter.
>
> In my RE24 working tree:
>
> git apply --stat jsynacek-20121025-constraint-tests-update.patch
>
> Then I expected
> ./run -b hdb test064 to fail (without the patch in ITS#7418) but it returned
> "Test succeeded".
>
> Ciao, Michael.
>
I'm sorry, one hunk didn't apply correctly.
New URL:
ftp://ftp.openldap.org/incoming/jsynacek-20121029-constraint-tests-update...
All the tests should fail without the patch in ITS#7418.
Cheers,
--
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat
10 years, 11 months
Re: (ITS#7424) Accept patch? Add option for not folding ldapsearch LDIF output lines
by masarati@aero.polimi.it
Upgrade? This ITS will be closed.
> No such option in OpenLDAP 2.4.23 as delivered with RHEL 6.
>
> man ldapsearch shows the only general option documented
> is nettimeout
>
> ??
>
> On 10/28/2012 3:45 PM, Pierangelo Masarati wrote:
>> Use ldapsearch -o ldif-wrap=no instead.
>>
>> p.
>>
>>> Full_Name:
>>> Version:
>>> OS:
>>> URL: ftp://ftp.openldap.org/incoming/
>>> Submission from: (NULL) (96.228.233.77)
>>>
>>>
>>> RFC 2849 states:
>>>
>>> 2) Any non-empty line, including comment lines, in an LDIF file
>>> MAY be folded by inserting a line separator (SEP) and a
>>> SPACE.
>>> Folding MUST NOT occur before the first character of the
>>> line.
>>> In other words, folding a line into two lines, the first of
>>> which is empty, is not permitted. Any line that begins with
>>> a
>>> single space MUST be treated as a continuation of the
>>> previous
>>> (non-empty) line. When joining folded lines, exactly one
>>> space
>>> character at the beginning of each continued line must be
>>> discarded. Implementations SHOULD NOT fold lines in the
>>> middle
>>> of a multi-byte UTF-8 character.
>>>
>>> OpenLDAP (ldapsearch at least) has taken implemented that folding
>>> behavior for LDIF output.
>>>
>>> This causes trouble for anyone trying to use 'ldapsearch | grep
>>> <something>'
>>> for one simple example.
>>>
>>> Would you accept a patch to allow an option which disables line
>>> folding?
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
--
Pierangelo Masarati
Associate Professor
Dipartimento di Ingegneria Aerospaziale
Politecnico di Milano
10 years, 11 months
Re: (ITS#7424) Accept patch? Add option for not folding ldapsearch LDIF output lines
by jblaine@kickflop.net
No such option in OpenLDAP 2.4.23 as delivered with RHEL 6.
man ldapsearch shows the only general option documented
is nettimeout
??
On 10/28/2012 3:45 PM, Pierangelo Masarati wrote:
> Use ldapsearch -o ldif-wrap=no instead.
>
> p.
>
>> Full_Name:
>> Version:
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (96.228.233.77)
>>
>>
>> RFC 2849 states:
>>
>> 2) Any non-empty line, including comment lines, in an LDIF file
>> MAY be folded by inserting a line separator (SEP) and a SPACE.
>> Folding MUST NOT occur before the first character of the line.
>> In other words, folding a line into two lines, the first of
>> which is empty, is not permitted. Any line that begins with a
>> single space MUST be treated as a continuation of the previous
>> (non-empty) line. When joining folded lines, exactly one space
>> character at the beginning of each continued line must be
>> discarded. Implementations SHOULD NOT fold lines in the middle
>> of a multi-byte UTF-8 character.
>>
>> OpenLDAP (ldapsearch at least) has taken implemented that folding
>> behavior for LDIF output.
>>
>> This causes trouble for anyone trying to use 'ldapsearch | grep
>> <something>'
>> for one simple example.
>>
>> Would you accept a patch to allow an option which disables line folding?
>>
>>
>>
>>
>
>
10 years, 11 months
Re: (ITS#7424) Accept patch? Add option for not folding ldapsearch LDIF output lines
by masarati@aero.polimi.it
Use ldapsearch -o ldif-wrap=no instead.
p.
> Full_Name:
> Version:
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (96.228.233.77)
>
>
> RFC 2849 states:
>
> 2) Any non-empty line, including comment lines, in an LDIF file
> MAY be folded by inserting a line separator (SEP) and a SPACE.
> Folding MUST NOT occur before the first character of the line.
> In other words, folding a line into two lines, the first of
> which is empty, is not permitted. Any line that begins with a
> single space MUST be treated as a continuation of the previous
> (non-empty) line. When joining folded lines, exactly one space
> character at the beginning of each continued line must be
> discarded. Implementations SHOULD NOT fold lines in the middle
> of a multi-byte UTF-8 character.
>
> OpenLDAP (ldapsearch at least) has taken implemented that folding
> behavior for LDIF output.
>
> This causes trouble for anyone trying to use 'ldapsearch | grep
> <something>'
> for one simple example.
>
> Would you accept a patch to allow an option which disables line folding?
>
>
>
>
--
Pierangelo Masarati
Associate Professor
Dipartimento di Ingegneria Aerospaziale
Politecnico di Milano
10 years, 11 months
(ITS#7424) Accept patch? Add option for not folding ldapsearch LDIF output lines
by jblaine@kickflop.net
Full_Name:
Version:
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (96.228.233.77)
RFC 2849 states:
2) Any non-empty line, including comment lines, in an LDIF file
MAY be folded by inserting a line separator (SEP) and a SPACE.
Folding MUST NOT occur before the first character of the line.
In other words, folding a line into two lines, the first of
which is empty, is not permitted. Any line that begins with a
single space MUST be treated as a continuation of the previous
(non-empty) line. When joining folded lines, exactly one space
character at the beginning of each continued line must be
discarded. Implementations SHOULD NOT fold lines in the middle
of a multi-byte UTF-8 character.
OpenLDAP (ldapsearch at least) has taken implemented that folding
behavior for LDIF output.
This causes trouble for anyone trying to use 'ldapsearch | grep <something>'
for one simple example.
Would you accept a patch to allow an option which disables line folding?
10 years, 11 months