Hi all,

I'm a newbie on web2py. I'm using web2py 1.99.4 and successfully used
auth_ldap to pass the authentication, and after that I want to create
AD user's info (DisplayName, Email, etc)into the database in db.py.

But It seems that I only got the db.auth_user.name, others like
"db.auth_user.email" are empty.

In the post-login page auth_user are
<Storage {'username': 'MyADName', 'first_name': 'MyADName',
'last_name': '', 'registration_id': '', 'id': 5, 'reset_password_key':
'', 'password': None, 'registration_key': '', 'email': ''}>

I know in the auth_ldap.py we only query/search "sAMAccountName" from
AD system. It that possible we query more"DisplayName or Email" and
using it in the db.py?  Many thanks.

Reply via email to