Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Does not accept .netrc 'login' parameter - Proposed fix #174

Open
11matt556 opened this issue Feb 28, 2019 · 0 comments
Open

Does not accept .netrc 'login' parameter - Proposed fix #174

11matt556 opened this issue Feb 28, 2019 · 0 comments

Comments

@11matt556
Copy link

11matt556 commented Feb 28, 2019

Problem

The documentation has the following .netrc example configuration:

//.netrc machine some_hostname username jeremy password somepass domain optional security optional fileMode optional dirMode optional

However, this does not conform to the GNU documentation for the .netrc file at https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html which has a 'login' parameter but no 'username' parameter.

This causes issues with other programs that use the .netrc file since they do not recognize the 'username' parameter. Similarly, using the 'login' parameter causes issues with docker-volume-netshare.

Solution... maybe

I am not familiar Go, but it looks like changing this line to 'login' would fix the issue.

@11matt556 11matt556 changed the title Does not accept .netrc 'login' parameter Does not accept .netrc 'login' parameter - Proposed fix Mar 1, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant