After a second thought, I do have a question. Is it necessary to have eldap separately from that included in Erlang distribution? This may create problems in running the code.<div><br></div><div>CGS</div><div><br></div><div>
<br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 4:10 PM, CGS <span dir="ltr"><<a href="mailto:cgsmcmlxxv@gmail.com" target="_blank">cgsmcmlxxv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OK! I managed to compile it with only one warning (error/2 is not used; I set eldap:parse_error/2 which does the same). I started the tests, but I got the following error:<div><br></div><div><div> ssl_util: failed (test "SSL certificates - 0", line 419) - Error:</div>
<div>{'EXIT',</div><div> {{badmatch,</div><div> {'Certificate',</div><div> {'TBSCertificate',v3,1,</div><div> {'AlgorithmIdentifier',{1,2,840,113549,1,1,5},<<5,0>>},</div>
<div> {rdnSequence,</div><div> [[{'AttributeTypeAndValue',</div><div> {2,5,4,3},</div><div> <<19,11,89,120,97,32,116,101,115,116,32,67,65>>}]]},</div>
<div> {'Validity',</div><div> {utcTime,"050928074554Z"},</div><div> {utcTime,"060928074554Z"}},</div><div> {rdnSequence,</div>
<div> [[{'AttributeTypeAndValue',{2,5,4,6},<<19,2,83,69>>}],</div><div> [{'AttributeTypeAndValue',</div><div> {2,5,4,10},</div>
<div> <<19,22,83,116,111,99,107,104,111,108,109,115,32,</div><div> 117,110,105,118,101,114,115,105,116,101,116>>}],</div><div> [{'AttributeTypeAndValue',</div>
<div> {2,5,4,3},</div><div> <<19,26,121,120,97,45,116,101,115,116,45,99,101,</div><div> 114,116,49,46,101,120,97,109,112,108,101,46,</div>
<div> 111,114,103>>}]]},</div><div> {'SubjectPublicKeyInfo',</div><div> {'AlgorithmIdentifier',{1,2,840,113549,1,1,1},<<5,0>>},</div>
<div> {0,</div><div> <<48,129,137,2,129,129,0,222,85,71,54,9,144,139,255,</div><div> 251,249,67,39,37,170,201,90,2,11,146,126,240,112,98,</div><div> 246,86,127,56,0,210,231,29,84,6,170,148,158,162,107,</div>
<div> 9,10,172,26,148,115,82,95,136,131,28,17,246,57,156,</div><div> 91,56,69,8,117,206,184,171,119,193,64,236,93,227,185,</div><div> 38,73,239,235,190,95,91,113,28,127,146,172,48,204,</div>
<div> 214,119,20,189,72,207,119,159,134,192,155,102,220,</div><div> 235,116,243,254,88,155,40,116,28,193,36,9,76,179,242,</div><div> 225,201,6,193,164,54,147,209,241,164,185,255,173,161,</div>
<div> 117,199,234,125,2,3,1,0,1>>}},</div><div> asn1_NOVALUE,asn1_NOVALUE,</div><div> [{'Extension',{2,16,840,1,113730,1,1},false,[3,2,6,192]},</div><div>
{'Extension',{2,5,29,15},false,[3,2,5,224]},</div><div> {'Extension',</div><div> {2,5,29,37},</div><div> false,</div><div> [48,20,6,8,43,6,1,5,5,7,3,2,6,8,43,6,1,5,5,7,3,1]},</div>
<div> {'Extension',</div><div> {2,16,840,1,113730,1,4},</div><div> false,</div><div> [22,32,104,116,116,112,58,47,47,99,97,46,101,120,97,109,</div>
<div> 112,108,101,46,99,111,109,47,99,114,108,45,118,49,46,</div><div> 99,114,108]},</div><div> {'Extension',</div><div> {2,5,29,14},</div>
<div> false,</div><div> [4,20,188,231,38,113,82,104,30,198,19,45,241,76,109,42,</div><div> 182,71,48,125,123,211]},</div><div> {'Extension',</div>
<div> {2,5,29,35},</div><div> false,</div><div> [48,61,128,20,38,247,100,190,74,95,117,82,188,203,50,</div><div> 137,9,149,69,2,244,164,88,42,161,26,164,24,48,22,49,20,</div>
<div> 48,18,6,3,85,4,3,19,11,89,120,97,32,116,101,115,116,32,</div><div> 67,65,130,9,0,215,233,65,74,51,94,124,232]},</div><div> {'Extension',</div><div>
{1,3,6,1,5,5,7,1,1},</div><div> false,</div><div> [48,42,48,40,6,8,43,6,1,5,5,7,48,2,134,28,104,116,116,</div><div> 112,58,47,47,99,97,46,101,120,97,109,112,108,101,46,99,</div>
<div> 111,109,47,99,97,46,99,114,116]},</div><div> {'Extension',</div><div> {2,5,29,31},</div><div> false,</div><div> [48,40,48,38,160,36,160,34,134,32,104,116,116,112,58,47,</div>
<div> 47,99,97,46,101,120,97,109,112,108,101,46,99,111,109,</div><div> 47,99,114,108,45,118,50,46,99,114,108]},</div><div> {'Extension',</div><div> {2,5,29,32},</div>
<div> false,</div><div> [48,112,48,110,6,4,41,1,1,1,48,102,48,37,6,8,43,6,1,5,5,</div><div> 7,2,1,22,25,104,116,116,112,58,47,47,99,97,46,101,120,</div><div>
97,109,112,108,101,46,99,111,109,47,67,80,83,48,61,6,8,</div><div> 43,6,1,5,5,7,2,2,48,49,26,47,76,105,109,105,116,101,</div><div> 100,32,76,105,97,98,105,108,105,116,121,44,32,115,101,</div>
<div> 101,32,104,116,116,112,58,47,47,99,97,46,101,120,97,</div><div> 109,112,108,101,46,99,111,109,47,67,80]},</div><div> {'Extension',</div><div> {2,5,29,18},</div>
<div> false,</div><div> [48,39,129,14,99,97,64,101,120,97,109,112,108,101,46,99,</div><div> 111,109,134,21,104,116,116,112,58,47,47,99,97,46,101,</div><div>
120,97,109,112,108,101,46,99,111,109]},</div>
<div> {'Extension',</div><div> {2,5,29,17},</div><div> false,</div><div> [48,114,129,31,116,101,115,116,64,121,120,97,45,116,101,</div>
<div> 115,116,45,99,101,114,116,49,46,101,120,97,109,112,108,</div><div> 101,46,111,114,103,130,26,121,120,97,45,116,101,115,</div><div> 116,45,99,101,114,116,49,46,101,120,97,109,112,108,101,</div>
<div> 46,111,114,103,130,11,101,120,97,109,112,108,101,46,</div><div> 111,114,103,130,15,115,105,112,46,101,120,97,109,112,</div><div> 108,101,46,111,114,103,130,9,108,111,99,97,108,104,111,</div>
<div> 115,116,135,4,192,0,2,78,135,4,127,0,0,1]}]},</div><div> {'AlgorithmIdentifier',{1,2,840,113549,1,1,5},<<5,0>>},</div><div> {0,</div><div> <<144,103,62,16,155,150,76,155,192,124,95,177,48,81,223,18,</div>
<div> 241,73,68,30,183,225,22,14,172,193,251,254,99,104,222,249,</div><div> 240,41,28,33,81,4,155,105,29,165,75,214,231,150,100,157,176,</div><div> 135,199,38,70,213,107,101,39,244,183,149,103,223,131,137>>}}},</div>
<div> [{ssl_util,test,0,[{file,"ssl_util.erl"},{line,519}]},</div><div> {autotest,test_module2,2,[{file,"autotest.erl"},{line,300}]}]}}</div></div><div><br></div><div>Any idea? Do I need to set a certificate manually?</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>CGS</div></font></span><div class="HOEnZb"><div class="h5"><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Aug 31, 2012 at 3:38 PM, CGS <span dir="ltr"><<a href="mailto:cgsmcmlxxv@gmail.com" target="_blank">cgsmcmlxxv@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For example, <a href="https://github.com/mikma/yxa/blob/otp-r14a/src/eldap/eldap.erl" target="_blank">https://github.com/mikma/yxa/blob/otp-r14a/src/eldap/eldap.erl</a> (line 66):<div>
<br></div><div>open(Hosts, Opts) when list(Hosts), list(Opts) -></div>
<div><br></div><div>list/1 should be is_list/1.</div><span><font color="#888888"><div><br></div><div>CGS</div></font></span><div><div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">
On Fri, Aug 31, 2012 at 3:33 PM, Mikael Magnusson <span dir="ltr"><<a href="mailto:mikma264@gmail.com" target="_blank">mikma264@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div>
<div>On 08/31/2012 03:31 PM, CGS wrote:<br>
</div>
<blockquote type="cite">Well, it may be my mistake here. I might have taken
the master branch accidentally. I retraced my steps and I
recompiled. Now it compiles, but there are some warnings about
obsolete things like
<div><br>
</div>
<div>eldap.erl:66: Warning: list/1 obsolete</div>
<div><br>
</div>
<div>which in code is used to guard the variable to be list and
since R14B03 (I think) it became is_list. I will attempt to
update all those things and come back with info.</div>
<div><br>
</div>
<div>Sorry for previous misleading.</div>
<div><br>
</div>
<div>CGS</div>
</blockquote>
<br></div>
Have a look at yxa forkes/branches at github, above might already be
fixed.<div><div><br>
<br>
<blockquote type="cite">
<div><br>
</div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On Fri, Aug 31, 2012 at 3:21 PM, Mikael
Magnusson <span dir="ltr"><<a href="mailto:mikma264@gmail.com" target="_blank">mikma264@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div>On 08/31/2012 03:15 PM, CGS wrote:<br>
</div>
<blockquote type="cite">I was taking a closer look at
the code and I found this
in yxa/src/transportlayer/ssl_util.erl (line 33):
<div><br>
</div>
<div>-include_lib("ssl/include/OTP-PKIX.hrl").</div>
<div><br>
</div>
<div>which I couldn't find it in R15B01. I will try to
find more about that header, but if you have a
better starting point, please, let me know. I am not
familiar with Erlang releases older than maximum 1
year.</div>
<div><br>
</div>
<div>CGS</div>
<div><br>
</div>
</blockquote>
<br>
</div>
Don't know why <span>HAS_OTP_PUB_KEY_HRL</span>
wasn't set by configure. Try to define it in config.hrl as
a work-around.<br>
<br>
<a href="https://github.com/mikma/yxa/blob/otp-r14a/src/transportlayer/ssl_util.erl" target="_blank">https://github.com/mikma/yxa/blob/otp-r14a/src/transportlayer/ssl_util.erl</a>
<div>
<div><br>
<br>
/Mikael<br>
<br>
<blockquote type="cite">
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On Fri, Aug 31, 2012 at
2:36 PM, CGS <span dir="ltr"><<a href="mailto:cgsmcmlxxv@gmail.com" target="_blank">cgsmcmlxxv@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes.
<div>
<div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On Fri, Aug 31,
2012 at 2:35 PM, Mikael Magnusson <span dir="ltr"><<a href="mailto:mikma264@gmail.com" target="_blank">mikma264@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div>
<div>On 08/31/2012 02:33 PM,
CGS wrote:<br>
</div>
<blockquote type="cite">I
changed it in <a href="http://configure.ac" target="_blank">configure.ac</a>
and configure script
finished without error.
Unfortunately, make reports
errors:
<div><br>
</div>
<div>
<div>ssl_util.erl:27:
can't find include lib
"ssl/include/OTP-PKIX.hrl"</div>
<div>ssl_util.erl:179:
record
'AttributeTypeAndValue'
undefined</div>
<div>ssl_util.erl:182:
record
'AttributeTypeAndValue'
undefined</div>
<div>ssl_util.erl:186:
record
'AttributeTypeAndValue'
undefined</div>
<div>ssl_util.erl:195:
record
'SSLAttributeTypeAndValue'
undefined</div>
<div>ssl_util.erl:196:
record
'SSLAttributeTypeAndValue'
undefined</div>
<div>ssl_util.erl:238:
record 'Certificate'
undefined</div>
<div>ssl_util.erl:239:
record 'Certificate'
undefined</div>
<div>ssl_util.erl:239:
record 'TBSCertificate'
undefined</div>
<div>ssl_util.erl:279:
record 'Certificate'
undefined</div>
<div>ssl_util.erl:280:
record 'Certificate'
undefined</div>
<div>ssl_util.erl:280:
record 'TBSCertificate'
undefined</div>
<div>ssl_util.erl:290:
record 'Extension'
undefined</div>
<div>ssl_util.erl:292:
record 'Extension'
undefined</div>
<div>ssl_util.erl:302:
record 'Extension'
undefined</div>
<div>ssl_util.erl:303:
variable 'Value' is
unbound</div>
<div>ssl_util.erl:519:
record 'Certificate'
undefined</div>
<div>ssl_util.erl:519:
record 'TBSCertificate'
undefined</div>
<div>ssl_util.erl:523:
record 'Certificate'
undefined</div>
<div>ssl_util.erl:523:
record 'TBSCertificate'
undefined</div>
<div>ssl_util.erl:532:
record
'AttributeTypeAndValue'
undefined</div>
<div>ssl_util.erl:63:
Warning: ssl:peercert/2:
deprecated (will be
removed in R15A); use
ssl:peercert/1 and
public_key:pkix_decode_cert/2
instead</div>
<div>make[2]: ***
[../../ebin/ssl_util.beam]
Error 1</div>
<div>make[2]: Leaving
directory
`/media/Data/Projects/yxa_new/src/transportlayer'</div>
<div>make[1]: ***
[all-recursive] Error 1</div>
<div>make[1]: Leaving
directory
`/media/Data/Projects/yxa_new/src'</div>
<div>make: ***
[all-recursive] Error 1</div>
<div><br>
</div>
<div>Any suggestion?</div>
</div>
</blockquote>
<br>
</div>
</div>
Are you using the R14A branch?<br>
<br>
<a href="https://github.com/mikma/yxa/tree/otp-r14a" target="_blank">https://github.com/mikma/yxa/tree/otp-r14a</a>
<div>
<div><br>
<br>
/Mikael<br>
<br>
<blockquote type="cite">
<div>
<div><br>
</div>
<div>CGS</div>
<div><br>
</div>
<br>
<div class="gmail_quote">On
Fri, Aug 31, 2012 at
2:27 PM, Mikael
Magnusson <span dir="ltr"><<a href="mailto:mikma264@gmail.com" target="_blank">mikma264@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div>On 08/31/2012
02:24 PM, CGS
wrote:<br>
</div>
<blockquote type="cite">
<div>Just tried
it and I got
this
with Erlang
R15B01
(erts-5.9.1):</div>
<div><br>
</div>
configure:
error: 5.9.1
found, 5.7.2
(Erlang/OTP
R13B-1) required<br>
<br>
If I will change
the configure,
do you think it
won't affect the
code further?
<div> <br>
</div>
</blockquote>
<br>
</div>
There should be a
parameter to
configure that can
be used to disable
that test, try it.<span><font color="#888888"><br>
<br>
/Mikael</font></span>
<div>
<div><br>
<br>
<blockquote type="cite">
<div>CGS</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
<br>
<div class="gmail_quote">On
Fri, Aug 31,
2012 at 2:16
PM, Mikael
Magnusson <span dir="ltr"><<a href="mailto:mikma264@gmail.com" target="_blank">mikma264@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div>On
08/31/2012
02:13 PM, CGS
wrote:<br>
</div>
<blockquote type="cite">I
tried a test,
but firstly it
needs to be
brought up to
the latest
version of
Erlang. R13B01
is obsolete
version and
many things
are changed in
Erlang since
then.
<div><br>
</div>
<div>CGS</div>
<div><br>
</div>
<div><br>
</div>
</blockquote>
<br>
</div>
There is a
branch for
R14, maybe it
works better
with the
latest Erlang
version.<br>
<br>
<a href="https://github.com/mikma/yxa/tree/otp-r14a" target="_blank">https://github.com/mikma/yxa/tree/otp-r14a</a>
<div>
<div><br>
<br>
<blockquote type="cite">
<div><br>
<div class="gmail_quote">
On Fri, Aug
31, 2012 at
2:01 PM,
Manuel A.
Rubio
"Bombadil" <span dir="ltr"><<a href="mailto:bombadil@bosqueviejo.net" target="_blank">bombadil@bosqueviejo.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>And ... are
you usign YXA
in some areas?
dev?
production?
test?</p>
<p>El
2012-08-31
13:54, Mikael
Magnusson
escribió:</p>
<div>
<div>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div>On
08/31/2012
01:46 PM, CGS
wrote:</div>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">Hi
Manuel,
<div>I was
wondering the
same for some
time. I will
follow this
thread for the
replies from
devs.</div>
<div>CGS</div>
</blockquote>
<br>
I am not
active in the
project
currently, and
I don't think
the project is
active at KTH
or Stockholm
University.
People at KTH
started the
project, and
people at
Stockholm
University
continued
after them.
But now the
project seems
rather
inactive.<br>
<br>
/Mikael<br>
<br>
<blockquote type="cite" style="padding-left:5px;border-left:#1010ff 2px solid;margin-left:5px;width:100%">
<div><br>
<br>
<div class="gmail_quote">On
Fri, Aug 31,
2012 at 1:42
PM, Manuel A.
Rubio
"Bombadil" <span><<a href="mailto:bombadil@bosqueviejo.net" target="_blank">bombadil@bosqueviejo.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">Hi
to all,<br>
<br>
I'm new in the
list, I've
reviewed the
YXA code and
I'd like to
know the
project
activity, is
ready for
production?<br>
<br>
Thanks.<br>
Manuel Rubio.<br>
_______________________________________________<br>
Yxa-devel
mailing list<br>
<a href="mailto:Yxa-devel@lists.su.se" target="_blank">Yxa-devel@lists.su.se</a><br>
<a href="https://lists.su.se/mailman/listinfo/yxa-devel" target="_blank">https://lists.su.se/mailman/listinfo/yxa-devel</a></blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Yxa-devel mailing list
<a href="mailto:Yxa-devel@lists.su.se" target="_blank">Yxa-devel@lists.su.se</a>
<a href="https://lists.su.se/mailman/listinfo/yxa-devel" target="_blank">https://lists.su.se/mailman/listinfo/yxa-devel</a>
</pre>
</blockquote>
</blockquote>
</div>
</div>
<span><font color="#888888">
<div>
<pre>--
Manuel A. Rubio "Bombadil"
Usuario de GNU/Linux #323628 acorde a <a href="http://counter.li.org/" target="_blank">http://counter.li.org/</a>
Técnico en Admin. Sistemas Informáticos</pre>
</div>
</font></span></div>
<br>
_______________________________________________<br>
Yxa-devel
mailing list<br>
<a href="mailto:Yxa-devel@lists.su.se" target="_blank">Yxa-devel@lists.su.se</a><br>
<a href="https://lists.su.se/mailman/listinfo/yxa-devel" target="_blank">https://lists.su.se/mailman/listinfo/yxa-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Yxa-devel mailing list
<a href="mailto:Yxa-devel@lists.su.se" target="_blank">Yxa-devel@lists.su.se</a>
<a href="https://lists.su.se/mailman/listinfo/yxa-devel" target="_blank">https://lists.su.se/mailman/listinfo/yxa-devel</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Yxa-devel
mailing list<br>
<a href="mailto:Yxa-devel@lists.su.se" target="_blank">Yxa-devel@lists.su.se</a><br>
<a href="https://lists.su.se/mailman/listinfo/yxa-devel" target="_blank">https://lists.su.se/mailman/listinfo/yxa-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Yxa-devel mailing list<br>
<a href="mailto:Yxa-devel@lists.su.se" target="_blank">Yxa-devel@lists.su.se</a><br>
<a href="https://lists.su.se/mailman/listinfo/yxa-devel" target="_blank">https://lists.su.se/mailman/listinfo/yxa-devel</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>