How about LDAP?
I use the following as seen on site.
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods.append(ldap_auth(mode='ad',
server='my.domain.controller',
base_dn='ou=Users,dc=domain,dc=com'))
But my question is do I still have to keep the
Thanks. From source, it work. I normally do dev on nix. This time, on
windows. So I do not notice. I was even surprised when I do not see source
to debug. ^_^
--
same here. Please keep me in your circle. If anyone know the answer, plz
share with me :)
--
I am having the same problem. How did you fix it? Let say, if port 587 is
not working, what kind of error do you have.
For me, it return no error at all. Just show me that invalid login.
Any idea ?
--
Please let me know anything wrong in the following code.
from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
auth = Auth(db, hmac_key = Auth.get_or_create_key())
auth.settings.create_user_groups=False
Hi,
I got web2py dal very wired problem.
I follow that link.
http://vimeo.com/23145118
db.define_table('stock_price2',
Field('symbol'),
Field('price', 'double'),
Field('price_change', 'double'),
)
Accidentally, i type chnage in the last field name. So I want to change it
back to
Hey
thanks you so much. I guess it is mysql wired thing. keyword reserve. But
sometimes it does work. sometimes it does not. ^_^
--
I got following issue with web2py Authentication.
I have to authenticate through URL
http://www.example.com/something/q?ID='username'pass='password'
It return true or false. I cannot go and change it. And I have to do
authentication with it for sure.
After I got true or false, I would like to
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods = [ldap_auth(mode='ad',
server='abc.google.com', base_dn='ou=Users, dc=google,dc=com')]
I am having the following error.
File gluon/contrib/login_methods/ldap_auth.py, line 9, in module
ImportError: No
for example,
in default.py
def user():
return dict(form=auth())
in view
{=form}}
How do I change it styl, i.e password input box appear next to
username not below.
And I put the following in the views/default/index.html
div id=myid/div
{{=A('linked
10 matches
Mail list logo