LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   *another* samba client related question (https://www.linuxquestions.org/questions/linux-networking-3/%2Aanother%2A-samba-client-related-question-69591/)

DingoDave 07-02-2003 12:15 PM

*another* samba client related question
 
I'm new to samba and am trying to learn. I'm not sure what the problem is. I have a share called linux on my drive. Here's the windows side:
H:\>net view 192.168.1.1
Shared resources at 192.168.1.1
Share name Type Used as Comment
-----------------------------------
Breifcase Disk
linux Disk
The command completed successfully.
H:\>

I can do a start-run \\192.168.1.1 and I see the share.

I jump over to my Linux box (RH9) to connect. Here's the output:

# rpm -q samba-client
samba-client-2.2.7a-7.9.0
#
# smbmount //192.168.1.1/linux$ /mnt/xpbox/
Error connecting to 192.168.1.1 (Connection refused)
1883: Connection to 192.168.1.1 failed
SMB connection failed
#

It seems like it's trying, but it won't connect. I then tried this:
I created a user on the windows box called 'linuxbox' with a password of password. I then typed in:

# mount -t smbfs -o username=linuxbox,password=password //192.168.1.1/linux /mnt/xpbox
Error connecting to 192.168.1.1 (Connection refused)
1890: Connection to 192.168.1.1 failed
SMB connection failed
#


Am I missing something simple? What's the next step in trouble-shooting this? Any ideas?

All help would be appreciated.

Thanks,
Dave

bobr 07-02-2003 01:34 PM

try this first- on linux edit /etc/lmhosts with windows IP and computer name, then try same thing in /etc/hosts

DingoDave 07-03-2003 12:58 PM

I already made the entry in the /etc/hosts. Pessimistically, I went ahead and edited the lmhosts file as well (in /etc/samba/lmhosts). I even copied it to /etc, but nogo. I appreciate the suggestion. Anything else you can think of? Especially related with the Micr$oft box?

It seems to me that this has to be a XP box issue, but it seems like if it is, others should have run into it as well.

I went ahead and configured samba on my linux host and I can connect to its share without problem from the xp box, but I cannot connect to the smb/cifs share on the XP box from the Linux host.

Any other ideas?

bobr 07-03-2003 02:19 PM

reset all defaults in smb.conf - configure both machines to be in the same workgroup - make sure you have something shared in XP - run this command ]smbclient -L (windos name or IP) - when asked for password press <enter> - what happens?


All times are GMT -5. The time now is 03:57 PM.