I installed Version 1.99.4 today and my apps which was working fine
with Version 1.99.2 shows the following error. I didn't have a chance
to test with Version 1.99.3.

Set up for ldap:
http://www.web2pyslices.com/slices/take_slice/145

Error:
-------------------------------------------------
Traceback (most recent call last):
  File "C:\web2py\gluon\restricted.py", line 204, in restricted
    exec ccode in environment
  File "C:/web2py/applications/pwd/controllers/default.py", line 32,
in <module>
  File "C:\web2py\gluon\globals.py", line 172, in <lambda>
    self._caller = lambda f: f()
  File "C:/web2py/applications/pwd/controllers/default.py", line 17,
in user
    return dict(form=auth())
  File "C:\web2py\gluon\tools.py", line 1141, in __call__
    return getattr(self,args[0])()
  File "C:\web2py\gluon\tools.py", line 1724, in login
    request.vars[passfield]):
  File "C:\web2py\gluon\contrib\login_methods\ldap_auth.py", line 92,
in ldap_auth_aux
    if not isinstance(result, dict):
UnboundLocalError: local variable 'result' referenced before
assignment

Reply via email to