[web2py] Retrieve other fields from the LDAP database

2017-03-20 Thread John Freking
I have used LDAP login with MS Active Directory and I added the extra
fields for names and emails to the AUTH_USER table.

[ldap_auth(mode='ad',
manage_user=True,
user_firstname_attrib = 'givenName',
user_lastname_attrib = 'sn',
user_mail_attrib = 'mail',

This code works fine but I want to retrieve more fields from the LDAP
database.  Is it possible to get more than these these fields?

Thanks,
John

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Retrieve other fields from the LDAP database during login

2017-03-20 Thread John Freking
I'm using LDAP AUTH with MS Active Directory and I added three extra
fields for names and email. The three fields are.

user_firstname_attrib
user_lastname_attrib
user_mail_attrib

This code works fine but I want to retrieve other fields from the LDAP
database.  Is it possible to get more than these these fields?  I
would like to find the manager of the user.

Thanks,
John

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.