[web2py] Re: Authentication

2012-06-26 Thread aungsan
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

[web2py] Re: ldap

2012-06-26 Thread aungsan
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. ^_^ --

[web2py] Re: After LDAP authentication, where can I change some actions?

2012-06-26 Thread aungsan
same here. Please keep me in your circle. If anyone know the answer, plz share with me :) --

[web2py] Re: email_auth with GMail and fluxflex

2012-06-26 Thread aungsan
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 ? --

[web2py] SMTP authentication with gmail

2012-06-26 Thread aungsan
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

[web2py] web2py DAL, migration

2012-06-25 Thread aungsan
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

[web2py] Re: web2py DAL, migration

2012-06-25 Thread aungsan
Hey thanks you so much. I guess it is mysql wired thing. keyword reserve. But sometimes it does work. sometimes it does not. ^_^ --

[web2py] Authentication

2012-06-25 Thread aungsan
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

[web2py] ldap

2012-06-25 Thread aungsan
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

[web2py] ajax form submit

2010-12-16 Thread aungsan
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