<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>On Tue Dec 5<sup>th</sup>, John A Kilpatrick wrote:<o:p></o:p></span></font></p>
<pre><i><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-style:italic'>> Just out of curiosity has anyone got rancid working with version 6.1 or <o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> later of the Netscaler software? I'm having a similar problem to others <o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> in that it just hangs - not seeing the prompt it wants I guess.<o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'><o:p> </o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> I'm wondering what previous versions of the software were like - if it <o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> dumped you into the FreeBSD shell (and that's what rancid is looking for) <o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> then sending the command "shell" after login would fix that. But if <o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> anyone has any other ideas I'd love to hear them.<o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'><o:p> </o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> Thanks,<o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'>> John<o:p></o:p></span></font></i></pre><pre><i><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-style:italic'><o:p> </o:p></span></font></i></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>I just got rancid working with Netscaler 6.1 build 96. The previous nslogin and nsrancid scripts were coded for direct login to the BSD shell. In 6.1 Netscaler got rid of the ability to log directly into the shell. 6.1 also contains a new feature that allows a non-privileged CLI user to be defined. Further, you can restrict what commands this user is allowed to run. For example, it is now possible to create a user who can login to the CLI and only issue the “show ns ns.conf” command which is enough for rancid. I’ve adjusted the scripts to rely on a CLI user that has access to the CLI “sh ns ns.conf” command.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>I’m not sure the best way to submit this code. I’m not a programmer by nature so I’m sure I’ve broken all kinds of conventions, but I have tried to comment what I changed. In general there were not many changes to make, mostly some prompt issues and I cleaned out some unused and previously commented code bit. The changes are NOT compatible with the NS 5.2 release so I’m not sure the scripts should even be put in the main branch. For now, I’m happy to email my copies to anyone that might find them useful.<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'>Thanks,<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'> Andy<o:p></o:p></span></font></pre></div>
</body>
</html>