Projet

Général

Profil

Scénario #23800

Mis à jour par Joël Cuissinat il y a presque 6 ans

2 problèmes identifiés identifier à ce jour :
* remettre la dépendance sur python-twisted-web2
<pre>
Traceback (most recent call last):
File "/usr/bin/eole-sso", line 76, in <module>
start_service()
File "/usr/bin/eole-sso", line 41, in start_service
from check_certs import run_check
File "./check_certs.py", line 24, in <module>
from eolesso.util import is_dn_in_hostname
File "/usr/lib/python2.7/dist-packages/eolesso/util.py", line 28, in <module>
from twisted.web2.http_headers import parseCookie
ImportError: No module named web2.http_headers
</pre>
* trouver l'origine du problème suivant
<pre>
Traceback (most recent call last):
File "./cas_resources.py", line 151, in render
return self._render(request)
File "./cas_resources.py", line 1261, in _render
return self.render_verify(request)
File "./cas_resources.py", line 1169, in render_verify
defer_auth = self.manager.authenticate(username, password, search_branch)
File "./authserver.py", line 1110, in authenticate
defer_auth = self._data_proxy.authenticate(username, password, search_branch)
File "/usr/lib/python2.7/dist-packages/eolesso/dataproxy.py", line 220, in authenticate
defer_auth = proxy.authenticate(user_id, passwd, branch)
File "/usr/lib/python2.7/dist-packages/eoleldaptor/eoleldapproxy.py", line 191, in authenticate
return self.bind_and_collect(login, password, search_base=search_base)
File "/usr/lib/python2.7/dist-packages/eoleldaptor/eoleldapproxy.py", line 218, in bind_and_collect
d_dn = self.get_user_dn(login, search_base)
File "/usr/lib/python2.7/dist-packages/eoleldaptor/baseproxy.py", line 170, in get_user_dn
d_dn = self.connect(search_base)
File "/usr/lib/python2.7/dist-packages/eoleldaptor/eoleldapproxy.py", line 62, in connect
conn = self.bind(self.config['reader_dn'], self.config['reader_pass'], search_base)
File "/usr/lib/python2.7/dist-packages/eoleldaptor/baseauthproxy.py", line 52, in bind
self.config['server'])
File "/usr/lib/python2.7/dist-packages/ldaptor/protocols/ldap/ldapconnector.py", line 93, in connect
c = LDAPConnector(self.reactor, dn, f, overrides=overrides)
File "/usr/lib/python2.7/dist-packages/ldaptor/protocols/ldap/ldapconnector.py", line 20, in __init__
'ldap', domain, factory)
File "/usr/lib/python2.7/dist-packages/twisted/names/srvconnect.py", line 77, in __init__
self.domain = nativeString(domain)
File "/usr/lib/python2.7/dist-packages/twisted/python/compat.py", line 412, in nativeString
raise TypeError("%r is neither bytes nor unicode" % s)
TypeError: None is neither bytes nor unicode
Une erreur est survenue lors du calcul de contenu pour / : None is neither bytes nor unicode
</pre>

Retour