I've found that the problem could be in auth.navbar that doesn't take care of auth.settings.login_next and logout_next. I filed a bug and provided a patch. http://code.google.com/p/web2py/issues/detail?id=652
give it a try On Wed, Feb 8, 2012 at 10:08 PM, Ricardo Pedroso <[email protected]>wrote: > Hi, > > Try this: > > 1. Logout from you app. > 2. delete all your sessions files in sessions folder. (if your are in > a development environment) > 3. Login again and see how the redirect behave. > > Ricardo > > > On Wed, Feb 8, 2012 at 8:57 PM, Tito Garrido <[email protected]> > wrote: > > I don't know how I can debug it :-/ > > > > On Wed, Feb 8, 2012 at 12:45 PM, Massimiliano <[email protected]> > wrote: > >> > >> Same problem here > >> > >> On Fri, Feb 3, 2012 at 5:12 PM, Tito Garrido <[email protected]> > >> wrote: > >>> > >>> Hi Folks, > >>> > >>> I'm using login with ldap and login_next doesn't work... > >>> > >>> from gluon.contrib.login_methods.ldap_auth import ldap_auth > >>> > >>> > auth.settings.login_methods=[ldap_auth(mode='company',server='mycompany',base_dn='ou=myou,o= > mycompany.com')] > >>> > >>> > auth.settings.actions_disabled=['register','change_password','request_reset_password','profile'] > >>> auth.settings.remember_me_form = False > >>> auth.settings.login_next = URL('default','get_ldapgroups') > >>> > >>> Is it expected? It just goes to index and doesn't care about my > >>> redirection... > >>> > >>> Regards, > >>> > >>> Tito > >>> > >>> > >>> -- > >>> > >>> Linux User #387870 > >>> .........____ > >>> .... _/_õ|__| > >>> ..º[ .-.___.-._| . . . . > >>> .__( o)__( o).:_______ > >> > >> > >> > >> > >> -- > >> Massimiliano > > > > > > > > > > -- > > > > Linux User #387870 > > .........____ > > .... _/_õ|__| > > ..º[ .-.___.-._| . . . . > > .__( o)__( o).:_______ > -- Massimiliano

