Re: [web2py] LDAP authentication and user creation

2016-08-24 Thread Marvi Benedet
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 : > For checking if user exist in LDAP you will need to write your own logic > and query LDAP... For creating the user you ha

Re: [web2py] LDAP authentication and user creation

2016-08-23 Thread Richard Vézina
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://w

Re: [web2py] LDAP authentication and user creation

2016-08-22 Thread Niphlod
see the source and adapt to your likings: web2py is not going to become an LDAP inventory automatically...studying LDAP is not bad per se: you'll find its query syntax pretty much in every 3rd party tool that integrates with LDAP for some kind of reason. On Friday, August 19, 2016 at 4:23:14 PM

[web2py] LDAP authentication and user creation

2016-08-20 Thread Marvix
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 a

[web2py] LDAP authentication and user creation

2016-08-19 Thread Marvi Benedet
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 admini