LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mapping a windows drive letter to my desktop linux box (https://www.linuxquestions.org/questions/linux-newbie-8/mapping-a-windows-drive-letter-to-my-desktop-linux-box-645217/)

sir_com 05-27-2008 11:40 PM

Mapping a windows drive letter to my desktop linux box
 
Hi,

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 192.168.0.4 (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?

charlie0313 05-28-2008 12:02 AM

Quote:

Error connecting to 192.168.0.4 (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 :)

grizly 05-28-2008 12:52 AM

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:
Quote:

/usr/bin/smbclient -L host
Can you connect manually?
Quote:

/usr/bin/smbclient \\\\server\\share mypasswd
Can you mount it manually?
Quote:

smbmount "\\\\samba1\\customers" -U rtg2t -c 'mount /customers -u 500 -g 100'
or:

Quote:

mount.cifs //server/inetpub /mnt/location -ouser=transfer,pass=dkfhjdjskd
Quote:

mount.smbfs //server/inetpub /mnt/location -ousername=transfer,password=dkfhjdjskd
Are you on a domain?
Quote:

mount.smbfs //server/inetpub /mnt/location -ousername=transfer,password=dkfhjdjskd,domain=FICTDOMAIN
A great guide to troubleshooting samba: http://www.oreilly.com/catalog/samba2/book/ch12.html


All times are GMT -5. The time now is 01:06 PM.