Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-27-2008, 11:40 PM   #1
Registered: Feb 2008
Posts: 31

Rep: Reputation: 15
Mapping a windows drive letter to my desktop linux box


I always had a windows drive mapped to my desktop linux box in this case to //jamd/jd.After I shifted my machine to new location it's not working. Here are some messages in my /var/log/samba.log file:

[2008/05/27 15:27:59, 1] libsmb/cliconnect.c:cli_connect(1312)

Error connecting to (No route to host)

[2008/05/27 15:27:59, 0] auth/auth_server.c:server_cryptkey(83)

password server not available

[2008/05/27 15:27:59, 1] auth/auth_server.c:check_smbserver_security(252)

password server is not connected (cli not initilised)

Any idea how I repair this?
Old 05-28-2008, 12:02 AM   #2
Registered: Jan 2008
Location: Dunn Loring, VA
Distribution: Slackware 12.0, Ubuntu 8.04
Posts: 47

Rep: Reputation: 15
Error connecting to (No route to host)
It looks like when you moved you where put on a different subnet or network. Try trouble shooting your network I guess? Could you post what "ifconfig -a" and "route" give you?

Also make sure you plugged your network cable in when you moved

Last edited by charlie0313; 05-28-2008 at 12:04 AM.
Old 05-28-2008, 12:52 AM   #3
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
When you say "Windows Drive"...

What exactly do you mean?

A removable drive that has windows data on it?
A hard-drive inside your workstation, that has windows installed on it?
A remote computer running Windows with a shared directory?

Your use of the samba error log suggests you know it to be a remote windows machine.

Can you ping the machine?
Can you post the output of:
/usr/bin/smbclient -L host
Can you connect manually?
/usr/bin/smbclient \\\\server\\share mypasswd
Can you mount it manually?
smbmount "\\\\samba1\\customers" -U rtg2t -c 'mount /customers -u 500 -g 100'

mount.cifs //server/inetpub /mnt/location -ouser=transfer,pass=dkfhjdjskd
mount.smbfs //server/inetpub /mnt/location -ousername=transfer,password=dkfhjdjskd
Are you on a domain?
mount.smbfs //server/inetpub /mnt/location -ousername=transfer,password=dkfhjdjskd,domain=FICTDOMAIN
A great guide to troubleshooting samba:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mapping a windows network drive andy1974 Linux - Networking 8 02-01-2011 05:09 PM
Windows to Linux - Remote Desktop / Mapping Linux home directory as drive. goldenmongoose Linux - Server 2 05-02-2007 02:15 AM
remote desktop to a linux box from windows jag2000 SUSE / openSUSE 5 04-18-2007 07:51 PM
Mapping a windows drive to a Linux box tbthorpe Linux - Networking 6 02-21-2005 01:48 PM
Mapping drive from Windows to Linux rkingndayton Linux - Networking 1 10-15-2003 10:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration