<div dir="ltr">Hi, thanks for the replies.<div><br></div><div>I am finally managed to install lasso correctly (without lasso-python) but after the installation of ipsilon-server (ipsilon-server-install --ipa=yes --secure=no) when I try to connet via browser to:<br>
<br><a href="https://myidp.example.com/idp">https://myidp.example.com/idp</a><br><br>I had this error:<br><br><div>[error] mod_wsgi (pid=22357): Target WSGI script '/usr/sbin/ipsilon' cannot be loaded as Python module.</div>
<div>[error] mod_wsgi (pid=22357): Exception occurred processing WSGI script '/usr/sbin/ipsilon'.</div><div>[error] Traceback (most recent call last):</div><div>[error] File "/usr/sbin/ipsilon", line 28, in <module></div>
<div>[error]  from ipsilon.root import Root</div><div>[error] File "/usr/lib/python2.6/site-packages/ipsilon/root.py", line 26, in <module></div><div>[error] from ipsilon.admin.login import LoginPlugins</div>
<div>[error] File "/usr/lib/python2.6/site-packages/ipsilon/admin/login.py", line 48</div><div>[error] plugins_by_name = {<a href="http://p.name">p.name</a>: p for p in self._site[FACILITY]['enabled']}</div>
<div>[error]                                      ^</div><div>[error] SyntaxError: invalid syntax</div><div><br></div><div>with HTTP 500 Internal Server Error ("GET /idp HTTP/1.1" 500 619)<br><br>The line is this one (in /usr/lib/python2.6/site-packages/ipsilon/admin/login.py):</div>
<div><br>plugins_by_name = {<a href="http://p.name">p.name</a>: p for p in self._site[FACILITY]['enabled']}<br></div></div><div><br></div><div>The same thing if I try:</div><div><br></div><div>ipsilon-client-install --saml-idp-metadata <a href="https://myidp.example.org/idp/saml2/metadata">https://myidp.example.org/idp/saml2/metadata</a> --debug<br>
</div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Luca Tartarini</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-31 13:11 GMT+02:00 Simo Sorce <span dir="ltr"><<a href="mailto:ssorce@redhat.com" target="_blank">ssorce@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, 2014-07-31 at 09:53 +0200, Luca Tartarini wrote:<br>
> Hi,<br>
><br>
> Thanks for the reply, unfortunately I can not find the package on<br>
> Scientific Linux, is there a workaround?<br>
<br>
</div>I saw from the lasso mailing list that you built the lasso package<br>
yourself, make sure you built the python bindings, they are part of the<br>
same source tree.<br>
<br>
Attached find a .spec file you can use top build lasso on EL6 platforms,<br>
until it will become available "officially".<br>
<br>
This will build and install the python binding correctly.<br>
<span class="HOEnZb"><font color="#888888"><br>
Simo.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> Thanks.<br>
><br>
> Luca Tartarini<br>
><br>
><br>
> 2014-07-30 15:00 GMT+02:00 Simo Sorce <<a href="mailto:ssorce@redhat.com">ssorce@redhat.com</a>>:<br>
><br>
> > On Tue, 2014-07-29 at 15:58 +0200, Martin Kosek wrote:<br>
> > > On 07/29/2014 03:47 PM, Luca Tartarini wrote:<br>
> > > > Hi everyone,<br>
> > > ><br>
> > > > I am new in FreeIPA, I am trying to configure FreeIPA with Ipsilon. The<br>
> > > > configuration is the following: Service Provider (host with Scientific<br>
> > > > Linux 6) with ipsilon-client and Identity Provider (another host with<br>
> > > > Scientific Linux 6) with FreeIPA and ipsilon-server, is the<br>
> > configuration<br>
> > > > feasible and/or correct?<br>
> > > > If it is, then I am stuck in the installation of ipsilon-client because<br>
> > > > after I installed lasso-2.3.6 and all the ipsilon-client prerequisites,<br>
> > > > when I finally run:<br>
> > > ><br>
> > > > ipsilon-client-install --saml-idp-metadata<br>
> > > > <a href="https://myidp.example.org/idp/saml2/metadata" target="_blank">https://myidp.example.org/idp/saml2/metadata</a> --saml-auth /wiki<br>
> > > ><br>
> > > > I get this error about lasso:<br>
> > > ><br>
> > > > Traceback (most recent call last):<br>
> > > >   File "/usr/bin/ipsilon-client-install", line 20, in <module><br>
> > > >     from ipsilon.tools.saml2metadata import Metadata<br>
> > > >   File<br>
> > "/usr/lib/python2.6/site-packages/ipsilon/tools/saml2metadata.py",<br>
> > > > line 22, in <module><br>
> > > >     import lasso<br>
> > > >   File "/usr/lib/python2.6/site-packages/lasso.py", line 3, in <module><br>
> > > >     import _lasso<br>
> > > > ImportError: No module named _lasso<br>
> > > ><br>
> > > > Does anyone know if it's a problem about lasso's configuration or I<br>
> > forgot<br>
> > > > something about ipsilon-client?<br>
> > > ><br>
> > > > Thanks in advance.<br>
> > > ><br>
> > > > Luca Tartarini<br>
> > ><br>
> > > Not sure, _lasso.so should be provided by lasso-python package:<br>
> > ><br>
> > > # rpm -qf /usr/lib64/python2.6/site-packages/_lasso.so<br>
> > > lasso-python-2.4.0-4.el6.x86_64<br>
> > ><br>
> > > CCing Simo to advise.<br>
> ><br>
> > Sounds like lasso-python is missing indeed.<br>
> ><br>
> > Simo.<br>
> ><br>
> ><br>
> ><br>
<br>
<br>
</div></div></blockquote></div><br></div>