If you have not tried this yet, I am inclined to suggest that in the net use /user statement that you specify username@serverip rather than just the user name in a secure shell. GL
>>> cae@bklyn.org 12/03/02 01:49PM >>>
On Tue, Dec 03, 2002 at 11:49:21AM -0500, Ben Voigt wrote:
> Can you open a cmd.exe session from within ssh? (Works not so well,
> but you should be able to determine whether you can access the
> mapped drives.) If so, you can use the cygwin mount command to
Nope, I get the same old errors - "net use" shows any mapped
drives to be "Unavailable" and I get an "Access denied" error
if I try to map a new drive.
> create mount points now that the drive letters are mapped. (You
> probably don't need a Windows drive letter for cygwin to create a
> mount point; you do need the net use /user command to set the right
> credentials).
I've managed to get a little further on this by enablign some
debugging messages on the server side, which is Samba. I
probably should have mentioned this before as it mayh ave some
bearing on the problem.
Anyway, I found that when I try to mapa network drive under
ssh, even if I use the /USER: flag on "net use", the
credentials thet get passed along to Samba are not carrying
any user name. Here's some of the log:
A failed connection:
[2002/12/03 13:36:01, 3] smbd/sesssetup.c:reply_spnego_auth(420)
Got user=[] workgroup=[] machine=[HAGRID] len1=1 len2=0
[2002/12/03 13:36:01, 3] auth/auth.c:check_ntlm_password(191)
check_password: Checking password for unmapped user []\[]@[HAGRID] with the new password interface
[2002/12/03 13:36:01, 3] auth/auth.c:check_ntlm_password(194)
check_password: mapped user is: [BKLYN]\[]@[HAGRID]
A successful connection I make from Windows Explorer "map network drive":
[2002/12/03 13:32:11, 3] smbd/sesssetup.c:reply_spnego_auth(420)
Got user=[cae] workgroup=[HAGRID] machine=[HAGRID] len1=24 len2=24
[2002/12/03 13:32:11, 3] auth/auth.c:check_ntlm_password(191)
check_password: Checking password for unmapped user [HAGRID]\[cae]@[HAGRID] with the new password interface
[2002/12/03 13:32:11, 3] auth/auth.c:check_ntlm_password(194)
check_password: mapped user is: [BKLYN]\[cae]@[HAGRID]
Now to figure out why the credentials are't right...
--
Caleb Epstein | bklyn . org |
cae at | Brooklyn Dust | For fast-acting relief, try slowing down.
bklyn dot org | Bunny Mfg. |
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives: http://erdelynet.com/archive/ssh-l/
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives: http://erdelynet.com/archive/ssh-l/
Received on Tue Dec 3 15:37:48 2002
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:41 EDT