trying to learn email and ldap login from the book
*e.g.*
*models/db.py*
auth.define_tables(username = True, signature = True)

# smtp server login
#auth.settings.actions_disabled = ['register', 'change_password', 
'request_reset_password']
from gluon.contrib.login_methods.email_auth import email_auth
auth.settings.login_methods.append(
    email_auth("mail.a.com:25", "@a.com") )

# ldap server login
from gluon.contrib.login_methods.ldap_auth import ldap_auth
auth.settings.login_methods.append(ldap_auth(server = 'x.x.x.x',
    base_dn = 'ou=users,dc=a,dc=com') )
auth.settings.login_methods = [auth, ldap_auth, email_auth]

Q1 : there are auth register, change password and request reset password, 
is it affect the server account? 
when using email_auth and using register is it add the new email account on 
email server? 
and for ldap_auth when register new user, is it add the new user account on 
ldap server?
how about change password case?
Q2 : why the auth_user table in password field is filled when user login 
with email_auth, while user login with ldap_auth, the password field is 
empty?

thanks and best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to