<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Charles, <div><br></div><div>I had the same issue as per <a href="http://www.shrubbery.net/pipermail/rancid-discuss/2012-May/006382.html">http://www.shrubbery.net/pipermail/rancid-discuss/2012-May/006382.html</a></div><div><br></div><div>The following change in fnrancid should work </div><div><br></div><div>Replace </div><div><br></div><div><div><div><font face="courier new, monospace">} elseif [string match "ssh*" $prog] {</font></div><div><font face="courier new, monospace"> regexp {ssh(:([^[:space:]]+))*} $prog methcmd suffix port</font></div><div><font face="courier new, monospace"> set cmd $sshcmd</font></div><div><font face="courier new, monospace"> if {<font color="#ff0000">"$port" <b>==</b> ""</font>} { <font color="#ff0000"><b>#BAD!!</b></font></font></div><div><font face="courier new, monospace"> set cmd "$cmd -p $port"</font></div><div><font face="courier new, monospace"> } </font></div></div><div><font face="courier new, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">with</font><font face="courier new, monospace"> </font></div><div><font face="courier new, monospace"><br></font></div><div><div><font face="courier new, monospace">} elseif [string match "ssh*" $prog] {</font></div><div><font face="courier new, monospace"> regexp {ssh(:([^[:space:]]+))*} $prog methcmd suffix port</font></div><div><font face="courier new, monospace"> set cmd $sshcmd</font></div><div><font face="courier new, monospace"> if {<font color="#ff0000">"$port" <b>!=</b> ""</font>} {</font></div><div><font face="courier new, monospace"> set cmd "$cmd -p $port"</font></div><div><font face="courier new, monospace"> } </font></div></div><div><font face="courier new, monospace"><br></font></div><div>Regards, </div><div>Gareth </div><div><font face="courier new, monospace"><br></font></div><div><div>On 20 May 2013, at 12:24 PM, Charles van der Spuy <<a href="mailto:charlesvds@yahoo.com">charlesvds@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<div text="#000000" bgcolor="#FFFFFF">
I hope someone can assist me.<br>
<br>
I have recently upgraded to rancid 2.3.8 and this seems to have
broken the Fortigate module.<br>
Cisco devices still work and I am able to manually login to
Fortigate devices using clogin.<br>
<br>
When I run the full rancid-run I get the following in the logfile:<br>
<br>
<b><tt>Trying to get all of the configs.</tt></b><b><tt><br>
</tt></b><b><tt>ftg1-universal fnlogin error: Error: Couldn't
login: ftg1-universal</tt></b><b><tt><br>
</tt></b><b><tt>ftg1-universal: missed cmd(s): show
full-configuration,get system status</tt></b><b><tt><br>
</tt></b><b><tt>0: found end</tt></b><b><tt><br>
</tt></b><b><tt>ftg1-universal: End of run not found</tt></b><tt><br>
</tt>etc.....<br>
<br>
I'm getting to the end of my tether on this one and don't want to
have to degrade to an earlier version.<br>
Has anybody been experiencing the same ?<br>
<br>
Charles van der Spuy.<br>
</div>
_______________________________________________<br>Rancid-discuss mailing list<br><a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</blockquote></div><br></div>
</body></html>