Error Login and Auth LDAP

14 views
Skip to first unread message

kilik

unread,
Jun 17, 2008, 5:31:45 PM6/17/08
to GHeimdall
Hi

I have a problem with pages login, logout and pass

"Oops! An error occured

Something went wonky and we weren't expecting it. Sorry about that.

This is commonly known as an "Error 500 " or "Internal Server Error".
It means we messed up.

A programmer has been notified and will try to fix the problem as soon
as possible.

Our sincerest apologies,

-The Team"

I have followed this page http://groups.google.com/group/gheimdall/browse_thread/thread/d53026119e897907
and apply patch, but not work for me.

I need authenticate for method LDAP, but not work for me.

System CentOS 5

Thanks

--Kilik

Takashi Matsuo

unread,
Jun 17, 2008, 6:01:32 PM6/17/08
to ghei...@googlegroups.com
Hi Kilik,

Are there any clue in the files in the directory /var/log/gheimdall ?
Perhaps, the clue is in the apache log files...

Could you check those files?

Regards,

Jonathan Narvaez

unread,
Jun 17, 2008, 7:13:12 PM6/17/08
to ghei...@googlegroups.com
Hi

The error.log

2008-06-17 12:10:29,994 gheimdall.controllers ERROR CherryPy 404 error (404 - Not Found) for request 'GET /gheimdall/'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run
    self.main()
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 256, in main
    page_handler, object_path, virtual_path = self.mapPathToObject(path)
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 326, in mapPathToObject
    raise cherrypy.NotFound(objectpath)
NotFound: 404
2008-06-17 13:02:47,800 gheimdall.controllers ERROR CherryPy 404 error (404 - Not Found) for request 'GET /gheimdall/'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run
    self.main()
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 256, in main
    page_handler, object_path, virtual_path = self.mapPathToObject(path)
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 326, in mapPathToObject
    raise cherrypy.NotFound(objectpath)
NotFound: 404
2008-06-17 13:02:51,217 gheimdall.controllers ERROR CherryPy 500 error (500 - Internal Server Error) for request 'GET /gheimdall/login/'
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run
    self.main()
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 264, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in newfunc
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 363, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 356, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 380, in <lambda>
    mapping, fragment, args, kw)))
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 408, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 72, in try_call
    return func(self, *args, **kw)
  File "/usr/lib/python2.4/site-packages/gheimdall-0.9.2.1-py2.4.egg/gheimdall/controllers.py", line 73, in newfunc
    return func(*args, **kwargs)
TypeError: login() takes at least 2 arguments (1 given)


Thanks

Jonathan Narvaez
- En la Caja decía 'instalar Windows 95 o Superior' Asi que instale Linux"
- Si reproduces un CD de Microsoft al revés puedes escuchar un mensaje satánico...
- Eso no es lo peor... Al derecho te instala windows...

Jonathan Narvaez

unread,
Jun 18, 2008, 11:50:09 AM6/18/08
to ghei...@googlegroups.com
Hi

Now use another URL, WORKS
http://192.168.101.3/gheimdall/login/inicio

error.log
2008-06-18 05:34:42,694 gheimdall.controllers ERROR {'desc': "Can't contact LDAP server"}

my app.cfg

apps.ldap_uri = 'ldap://127.0.0.1'
apps.ldap_basedn = 'ou=People,dc=uniminuto,dc=edu,dc=co'
apps.ldap_filter = 'uid=%s'
apps.ldap_rootdn = 'cn=Administrador,dc=uniminuto,dc=edu,dc=co'
apps.ldap_rootpw = ********'
apps.ldap_passwd_hash_style = '{SSHA}'

but my connects to LDAP server

Thanks

-- Kilik

Jonathan Narvaez
- En la Caja decía 'instalar Windows 95 o Superior' Asi que instale Linux"
- Si reproduces un CD de Microsoft al revés puedes escuchar un mensaje satánico...
- Eso no es lo peor... Al derecho te instala windows...

Takashi Matsuo

unread,
Jun 18, 2008, 8:34:08 PM6/18/08
to ghei...@googlegroups.com
Hi,

You can not use the following URL without SAMLRequest parameter.
https://yourdomain.example.com/gheimdall/login

Usually, SAMLRequest parameter is appended by Google.

1st, browser access to the service URL like:
https://mail.google.com/a/yourdomain.example.com/

2nd, Google tells the browser to redirect to following:
https://yourdomain.example.com/gheimdall/login?SAMLRequest=..........(omitted)

So, could you try to access the google's service URL first?

For now, I don't have an idea for another problem about connecting
LDAP server.. sorry.

Regards,

-- Takashi

Reply all
Reply to author
Forward
0 new messages