Ok. Thanks!

Good to know that doesn't exist something ready.

Will try to find the time to study LDAP and the rest!

Bye, Marvi


2016-08-23 15:58 GMT+02:00 Richard Vézina <ml.richard.vez...@gmail.com>:

> For checking if user exist in LDAP you will need to write your own logic
> and query LDAP... For creating the user you have Admin or you can create a
> simple form that only admin can use for instance... There is also a way to
> provide admin app access by attributing to user a particular role :
> http://web2py.com/books/default/chapter/29/09/access-control?search=role#
> Application-Management-via-privileged-users-Experimental
>
> Or there were badmin app https://github.com/elcio/badmin, but I am not
> sure if it still maintained, I remember having read a post saying it wasn't
> up to date.
>
> Good luck.
>
> Richard
>
> On Sat, Aug 20, 2016 at 1:59 PM, Marvix <ma...@marvi.it> wrote:
>
>> Hello to all.
>> I tried LDAP authentication and all work flawless.
>>
>> As an user logs in, the relative user entry is created in the web2py user
>> table. That's great.
>>
>> But sometimes it would be usefull to have the user in the table before
>> his first login.
>>
>> So, would be great for some user, says an administrator, to have a form
>> where he can insert the username of a generic user, web2py checks if the
>> user exists in the LDAP server and then add him in the web2py table.
>>
>> Is there a way?
>>
>> I'm creating a sort of inventory application for our company.  So I would
>> like, for the administrator of the inventory, to associate a good to a
>> collegue that maybe hasn't yet logged in the system.
>>
>> Thanks, Marvi
>>
>> --
>> 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.
>

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

Reply via email to