You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a proper entry in ~/.netrc for USERNAME, PASSWORD and HOST.
If I try to access the URL ftp://HOST/PATH, mc correctly retrieves USERNAME and PASSWORD from .netrc and I can log into the FTP host.
If I try to access the URL ftp://USERNAME@HOST/PATH, mc displays a popup window, asking for the password. Shouldn't it retrieve the password from .netrc?
Changed by cri (cri@….org) on Sep 13, 2019 at 21:48 UTC(comment 5)
It seems to me this bug has re-surfaced on 4.8.22 (Debian buster): i.e. mc keeps asking me for the user's password even when there's a proper password in .netrc.
Moreover, if I don't provide neither user nor password (ftp://HOST/PATH), mc tries anonymous FTP, whereas before it used the credentials from .netrc.
Sorry I can't test 4.8.23 at the moment, but it worked fine at least until 4.8.18 (Debian stretch), so maybe some regression has happened somewhere in between 4.8.18 and 4.8.22?
Important
This issue was migrated from Trac:
cri
(cri@….org)I have a proper entry in ~/.netrc for USERNAME, PASSWORD and HOST.
If I try to access the URL ftp://HOST/PATH, mc correctly retrieves USERNAME and PASSWORD from .netrc and I can log into the FTP host.
If I try to access the URL ftp://USERNAME@HOST/PATH, mc displays a popup window, asking for the password. Shouldn't it retrieve the password from .netrc?
I had a look at https://midnight-commander.org/browser/src/vfs/ftpfs/ftpfs.c#L371
shouldn't it be
instead of
?
Or am I missing something?
The text was updated successfully, but these errors were encountered: