Ok, now I have it installed. The error message has gone.
Maybe the module "python-ldap" should be notified in the book (5th edition?)

I have found the module "python-ldap"  in

http://pypi.python.org/packages/2.7/p/python-ldap/python-ldap-2.4.10.win32-py2.7.msi#
     md5=7bcf356c590ea093f7c3ad410c155f82

because it's a windows computer. (But web2py is started from source.)

Netxt step:
I have changed the setting of the login_method at the end of db.py to

auth.settings.login_methods=[ldap_auth(mode='ad',
        server='ldap.testathon.net',base_dn='ou=users,dc=testathon,dc=net')]

Now the login-page should show require the user-id and a password - right?
But it shows the traditional e-mail/password-login-oage.
Any hints?

Regards, Martin


2012/12/31 Bruno Rocha <[email protected]>

> Did you installed ldap module?
>
> on debian systems it is
>
> sudo apt-get install python-ldap
>
> or
>
> sudo pip install ldap
>
> --
>
>
>

-- 



Reply via email to