Change "Forgot Your Password?" link for LDAP login

I’ve got a university client that uses LDAP for all logins and thus needs the Forgot Your Password? link on the wp-login page to actually link to the university credential reset area. Is there a way I can do this without manipulating wp-login? I wrote a custom script like this:




function subdomain_new_location($old) {

return ‘;;



but it doesn’t seem to be working for me now. It worked back before 3.4.