Unable to automatically map a drive letter at login

Dave Korn dave.korn@artimi.com
Tue Aug 29 18:12:00 GMT 2006


On 29 August 2006 18:22, Grant Miller wrote:

> I just rebooted one of the Windows systems and tried to SSH in to a
> now clean system (nobody else logged in since booting) with ssh keys
> and a script in my .bash_profile to attach to a drive letter and I got
> the same error (System error 85 has occurred).
> 
> I also changed the drive letter the script was trying to map from h:
> to q: (a random drive letter that I haven't used before) and I still
> got the same error.
> 
> Omitting the drive letter and using UNC paths works, but it's not
> going to be pretty.

  There's one thing that I would try if it was me, but I can make absolutely
no guarantee it will work.  After logging in, try issuing a

net use \\127.0.0.1\IPC$ mypassword /user:DOMAIN\grant

  It's a real long shot, but it *might* - just /might/ - get your proper
credentials into the place where they need to be.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list