Getting the same error and just updated from the git repository.

10.102.50.37.2012-02-23.07-46-58.25a3ba02-828a-41d8-ae1d-daf22ab847df
<type 'exceptions.AttributeError'> 'NoneType' object has no attribute 
'user_groups'


snippets from my db.py: (added to the original skeleton)

## create all tables needed by auth if not custom tables
auth.define_tables(username=True)

# all we need is login
auth.settings.actions_disabled=['register','change_password','request_reset_password','retrieve_username','profile']

# you don't have to remember me
auth.settings.remember_me_form = False

# ldap authentication and not save password on web2py
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods = [ldap_auth(mode='ad',
   server='server.domain.com',
   base_dn='dc=domain,dc=com')]

Reply via email to