I'm having an authentication error in an application that works without any 
problem in 1.95.1.
This application uses ldap authentication, the backtrace is:

Traceback (most recent call last):
  File "/opt/src/web2py/web2py/gluon/restricted.py", line 192, in restricted
    exec ccode in environment
  File "/opt/src/web2py/web2py/applications/controlies/controllers/default.py" 
<http://localhost:8000/admin/default/edit/controlies/controllers/default.py>, 
line 69, in <module>
  File "/opt/src/web2py/web2py/gluon/globals.py", line 137, in <lambda>
    self._caller = lambda f: f()
  File "/opt/src/web2py/web2py/applications/controlies/controllers/default.py" 
<http://localhost:8000/admin/default/edit/controlies/controllers/default.py>, 
line 48, in user
    return dict(form=auth())
  File "/opt/src/web2py/web2py/gluon/tools.py", line 1069, in __call__
    return getattr(self,args[0])()
  File "/opt/src/web2py/web2py/gluon/tools.py", line 1609, in login
    user = self.get_or_create_user(form.vars)
  File "/opt/src/web2py/web2py/gluon/tools.py", line 1366, in get_or_create_user
    user_id = table_user.insert(**keys)
  File "/opt/src/web2py/web2py/gluon/dal.py", line 4699, in insert
    return self._db._adapter.insert(self,self._listify(fields))
  File "/opt/src/web2py/web2py/gluon/dal.py", line 4675, in _listify
    raise SyntaxError, 'Field %s does not belong to the table' % name
SyntaxError: Field remember does not belong to the table


My form doesn't have a "remember" field, but it appears in the form.vars 
when debugging at gluon/tools.py login method.

Any idea?

Reply via email to