hi -- yup, I ended up doing this and it resolved my redirection problem when logging in.
Thank you for the follow up. -dg On May 8, 11:52 pm, Sela Yair <[email protected]> wrote: > this is app.yml in /config not app.yml in /apps/xxx > why does it redirects to backend? i had similar problem, but i think setting > that app.yml fixed it. > > all: > sf_guard_plugin: > success_signin_url: @homepage # the plugin use the referer as default > success_signout_url: @homepage # the plugin use the referer as > default > > On 6 May 2010 18:55, webdev_aw_ucsb <[email protected]> wrote: > > > > > > > Greetings all -- > > > I'm using Symfony 1.4.4 > > > I followed some example blog code provided here: > > >http://blog.honnecke.us/2010/01/using-sfdoctrineguardusers-external-a... > > > And I have in my custom authentication class the following attached > > code. I hit 2 different LDAP servers based upon the symfony app > > (frontend or backend) the user is logging into. My problem is that > > after login the user hitting frontend login is being redirected to a > > url at backend_dev.php/sfguard/user for example. > > > Is there an sfDoctrineGuard login success redirect path I need to set > > for each apps routing? I'm confused how successful login at frontend > > redirects the user to the backend application ... > > > ### attached code sample > > <?php > > > class svCustomAuth > > { > > protected static $port = 389; #SSL 636 > > > public static function authenticate($u,$p) > > { > > $app = sfContext::getInstance()->getConfiguration()- > > >getApplication(); > > > switch ($app) > > { > > case 'frontend': > > # > > # contact campus-wide directory and validate user. > > # > > $conn = @ldap_connect('campus.edu', self::$port); > > �...@ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3); > > �...@ldap_set_option($conn, LDAP_OPT_REFERRALS, 0); > > $dn = "uid=$u,o=campus,campusaffiliation=employee"; > > return @ldap_bind($conn,$dn,$p); > > break; > > case 'backend': > > # > > # contact my dept only directory and validate help-desk user. > > # > > $conn = @ldap_connect('directory.my_department.campus.edu', > > self::$port); > > �...@ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3); > > �...@ldap_set_option($conn, LDAP_OPT_REFERRALS, 0); > > $dn = "uid=$u,cn=foo,dc=bar,dc=baz,dc=meta,dc=alpha"; > > return @ldap_bind($conn,$dn,$p); > > break; > > default: > > break; > > } > > } > > } > > ?> > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<symfony-users%2bunsubscr...@goog > > legroups.com> > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
