You maybe have to redefine the auth_user models to append new fields...

If you add username field web2py will use the values stored there as login
automatically. But for that you have to redefine the user table.

Then you can use CRUD as well...


Richard

On Thu, Feb 23, 2012 at 2:37 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:

> Ok, but what's is the problem... I don't understand sorry.
>
> Richard
>
>
> On Thu, Feb 23, 2012 at 2:33 PM, Larry G. Wapnitsky <la...@kvetsch.com>wrote:
>
>>  The issue is not putting the username into the web2py database, but
>> another database that's storing information.
>>
>> On 2/23/2012 2:32 PM, Richard Vézina wrote:
>>
>> I am not sure how you connect to LDAP, but there is utilities to connect
>> LDAP with web2py. You should read about those in the book searching with
>> LDAP as keyword. If you only want to import LDAP user into web2py database
>> table, I suggest you to use the user table of the RBAC.
>>
>>  So then you can access those entries with CRUD, but also manage who is
>> allow to access those sensitive informations.
>>
>>  Richard
>>
>> On Thu, Feb 23, 2012 at 2:13 PM, Larry Wapnitsky <la...@kvetsch.com>wrote:
>>
>>> (newbie disclaimer :))
>>>
>>>  I'm logging in to my application via AD/LDAP.  I can get the variable
>>> of the username with no issue.  What i need to do next is take this
>>> variable and insert it into a field in a CRUD form and have it show in my
>>> database.
>>>
>>>  Thanks,
>>> Larry
>>>
>>>
>>>
>>
>

Reply via email to