[rancid] Re: hlogin support for HP Procurve 5406zl

john heasley heas at shrubbery.net
Sat Feb 7 08:13:18 UTC 2009


Fri, Feb 06, 2009 at 12:07:29AM -0600, Jason Ellison:
> RANCID 2.3.2a9 does not login to the Procurve 5400zl switch correctly.
>  I'm using radius... So this may have changed the prompt.

does your AAA server set this prompt?  is that possible with radius?

> ProCurve J8697A Switch 5406zl
> Software revision K.13.45
> 
> Please Enter Login Name: jellison
> Please Enter Password:
> 
> 
> switch00# sh run | include radius
> aaa authentication console login radius local
> aaa authentication console enable radius local
> aaa authentication telnet login radius
> aaa authentication telnet enable radius
> aaa authentication web login radius
> aaa authentication web enable radius
> aaa authentication ssh login radius
> aaa authentication ssh enable radius
> 
> 
> gnu patch generated via diff -uN
> 
> --- bin/hlogin.original.2.3.2a9 2009-02-03 18:35:55.000000000 -0600
> +++ bin/hlogin  2009-02-04 00:07:52.000000000 -0600
> @@ -666,7 +671,9 @@
>      # Figure out prompts
>      set u_prompt [find userprompt $router]
>      if { "$u_prompt" == "" } {
> -       set u_prompt "(Username|login|user name):"
> +        #added "Name" for 5406zl
> +        #which has the prompt "Please Enter Login Name:"
> +       set u_prompt "(Name|Username|login|user name):"
>      } else {
>         set u_prompt [join [lindex $u_prompt 0] ""]
>      }
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list