Now I bought   the second version of the book to read more about the
ldap authentication.
I did the following and i can't understand why it doesn't work.
Here is my controller in the order

from gluon.tools import *
auth=Auth(globals(),db)                      # authentication/
authorization
auth.settings.hmac_key='5dfd1d8c4-6ebf-4ecd-98cf-abc1e34273dc'
auth.define_tables()                         # creates all needed
tables
crud=Crud(globals(),db)                      # for CRUD helpers using
auth
service=Service(globals())

from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods.append(ldap_auth
(mode='ad',server='ad.domain.com',base_dn='ou=users,ou=kjc,ou=institute,dc=ad,dc=domain,dc=de'))

i can't understand what is wrong there. i just want to use the ldap
authentication and doesn't want local auth tables.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to