Closed temandroid closed 4 years ago
Hello! Thanks for report, I recommend to you rollback to some previous version, ill check your issue after couple hours. Btw, did you checked the login password? Messages about invalid credentials can be sometimes if ROS answered it after query.
PS. You may delete set('legacy', false)
, because "legacy" status will be detected automatically.
Hello,
For information : Mikrotik changed its authentication politics :
What's new in 6.45.3 (2019-Jul-29 12:11):
Important note!!! Due to removal of compatibility with old version passwords in this version, downgrading to any version prior to v6.43 (v6.42.12 and older) will clear all user passwords and allow password-less authentication. Please secure your >router after downgrading. Old API authentication method will also no longer work, see documentation for new login procedure: https://wiki.mikrotik.com/wiki/Manual:API#Initial_login
Le 25/02/2020 à 16:22, Paul Zloi a écrit :
Hello! Thanks for report, I recommend to you rollback to some previous version, ill check your issue after couple hours. Btw, did you checked the login password? Messages about invalid credentials can be sometimes if ROS answered it after query.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EvilFreelancer/routeros-api-php/issues/29?email_source=notifications&email_token=ABX4QD427LV7ZPYMSSFJRV3REUZSHA5CNFSM4K3KLYZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM4LW5Y#issuecomment-590920567, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX4QDYFE2R72GKBS3UYALDREUZSHANCNFSM4K3KLYZQ.
It's my fault, sorry, just updated your scripts to latest version and everything works great :)
Version of RouterOS 6.45.8 (long-term)
To Reproduce Just login
$conn = (new Config()) -> set('timeout', 10) -> set('host', '192.168.1.1') -> set('user', 'user') -> set('pass', 'pass') -> set('delay', 10) -> set('legacy', false); $ros = new Client($conn);
Expected behavior