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

2017-03-22 Thread Richard Vézina
Which field, are they related to group? Please try to be more specific. I
think you can get more data from LDAP for group, but I am not sure if it
possible for fields specific to the user though you can hack the ldap_auth
to do so...

Richard

On Mon, Mar 20, 2017 at 4:30 PM, Dave S  wrote:

> Duplicate.  See  lrSLhSq8BgAJ>
>
> /dps
>
>
>
> On Monday, March 20, 2017 at 6:38:44 AM UTC-7, John Freking wrote:
>>
>> 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.
>

-- 
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.


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

2017-03-20 Thread Dave S
Duplicate.  See 


/dps


On Monday, March 20, 2017 at 6:38:44 AM UTC-7, John Freking wrote:
>
> 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.


[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.