Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.netrc to connect from unix to windows

Status
Not open for further replies.

jawon

Programmer
Feb 6, 2003
31
0
0
US
I am trying to autoconnect using .netrc from unix to a windows machine. The access has been set up but when I set up the .netrc file with...

machine windowshost login domain\mylogin password mypassword

...I get the error...

User domainmylogin cannot log in.
Login failed.
Please login with USER and PASS.

Something to do with the "\"? How do I get this to work? By the way, I was told I need the domain in the username.
 
Does that username and password work when you connect manually?

Try escaping the backslash by putting "\\" in the .netrc.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top