What is exactly you issue with option 2... It should be straigh forward... It a matter of using python ldap properly... You need also a way to determine which LDAP instance you are talking to ...
Richard On Tue, Dec 15, 2015 at 2:58 PM, Jonathan R <[email protected]> wrote: > The thing is we want to keep information from each server separated. so > solution 1 is not good for me. > I already use a variant of your option 2 where I grab the user credentials > on login and use it to query the server. > We have 2 servers, "test" and "prod" and we want to have one app to query > both. > > I kept on searching and I may have a lead, the issue is that > auth.settings.auth_methods is parsed before the login page is displayed,is > there a way to parse it when the login page is submitted ? > > thanks again for your time/help. > > > -- > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

