[rancid] Possible bug

Ugo Bellavance <[email protected]> Fri, 26 Jul 2019 08:24:35 -0400
Newsgroups gmane.network.rancid
Message-ID <CACSSk+V1Hp6bBk6ssU4b0kv8NOHkmu9zvX1q3PpTOwQiTNhHMA@mail.gmail.com>
--===============3690848060604447238==
Content-Type: multipart/alternative; boundary="000000000000bb9ded058e94a04e"

--000000000000bb9ded058e94a04e
Content-Type: text/plain; charset="UTF-8"

Hi,

I think that there might be a problem with the fnlogin script. It may
because I'm attempting to execute it on a Fortiweb system (not Fortigate),
but there is one last ' "send "end\r" ' that shouldn't be there.

Sample of ssh session with the unit, doing the same thing as the fnolgin
script:

[rancid@server bin]$ ssh -l ranciduser fortiweb.example.com
[email protected]'s password:
fortiweb $ config system console

fortiweb (console) $ set output standard

fortiweb (console) $ end

fortiweb $ end
Command fail. CLI parsing error.

I'm using the fnlogin script "3915 2018-10-29 21:05:01Z"

I don't have a Fortigate unit to test, so I do not know if it's OS-related
or not.

Thanks,
-- 
Ugo Bellavance ([email protected])

--000000000000bb9ded058e94a04e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I think that there might=
 be a problem with the fnlogin script. It may because I&#39;m attempting to=
 execute it on a Fortiweb system (not Fortigate), but there is one last &#3=
9; &quot;send &quot;end\r&quot; &#39; that shouldn&#39;t be there.</div><di=
v><br></div><div>Sample of ssh session with the unit, doing the same thing =
as the fnolgin script:</div><div><br></div><div>[rancid@server bin]$ ssh -l=
 ranciduser <a href=3D"http://fortiweb.example.com">fortiweb.example.com</a=
><br><a href=3D"mailto:[email protected]">ranciduser@fortiweb=
.example.com</a>&#39;s password:<br>fortiweb $ config system console<br><br=
>fortiweb (console) $ set output standard<br><br>fortiweb (console) $ end<b=
r><br>fortiweb $ end<br>Command fail. CLI parsing error.<br></div><div><br>=
</div><div>I&#39;m using the fnlogin script &quot;3915 2018-10-29 21:05:01Z=
&quot;</div><div><br></div><div>I don&#39;t have a Fortigate unit to test, =
so I do not know if it&#39;s OS-related or not.</div><div><br></div><div>Th=
anks,<br></div><div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-=
smartmail=3D"gmail_signature">Ugo Bellavance (<a href=3D"mailto:ugob@lubik.=
ca" target=3D"_blank">[email protected]</a>)<br></div></div></div>

--000000000000bb9ded058e94a04e--


--===============3690848060604447238==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

--===============3690848060604447238==--