LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2004, 03:19 PM   #1
shookie
LQ Newbie
 
Registered: May 2004
Location: New Jersey
Distribution: rh 9.0 (shrike)
Posts: 15

Rep: Reputation: 0
SAMBA: Connecting from rh9.0 smb 3.0 > windows xp share


There are a few things i need to touch topic on. First and foremost my smb problem.

I can connect to my linux via my Windows XP connection \\ip\shr

But when i try the other way around i get (from console):

-bash-2.05b# smbclient -L //192.168.0.1/XPC -Ulinux -W VICXP
Password:
Domain=[VICXP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
My Music Disk
temp Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
XPC Disk
Error connecting to 192.168.0.1 (Connection refused)
Connection to 192.168.0.1 failed
NetBIOS over TCP disabled -- no workgroup available

Well i know all my daemons are running. I been reading books left and right still cant figure what im doing rong here.

also this error often comes out. NT STATUS ACCESS DENIED.'

I have the guest account enabled. and running samba 3.0.4.

I have the latest kernel build.

Also when im in Windows XP. i dont know if it pertains to here but here goes. I cant see that linux box in my network neighborhood. I tried also linneighborhood but no dice. Then i read it dont work well with samba. Now im going to paste my smb.conf. its super basic. Im just trying to get the thing communicating security isnt a issue yet.

Code:
-bash-2.05b# cat /etc/samba/smb.conf
[global]
        workgroup = vicxp
        netbios name = LINUXBOX
        server string = samba %v on (%l)
        username map = /etc/samba/smbusers
        encrypt passwords = yes

[linuxshr]
        browseable = yes
        path = /shr
        comment = Linux Share
        volume = Linux-Share-DIR
        writeable = yes
        guest ok = yes
Thank you for the time reading of you dont post.
 
Old 05-16-2004, 05:30 PM   #2
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
first: are both computers in the same workgroup?
second: the login and password you use for xp needs to have an acct on the linux box with the same username and password

you have verified that smbd and nmbd are running....can you ping one machine from the other?if not you have a connectivity problem..
 
Old 05-16-2004, 06:45 PM   #3
shookie
LQ Newbie
 
Registered: May 2004
Location: New Jersey
Distribution: rh 9.0 (shrike)
Posts: 15

Original Poster
Rep: Reputation: 0
-bash-2.05b# ping vicxp
PING vicxp (192.168.0.1) 56(84) bytes of data.
64 bytes from vicxp (192.168.0.1): icmp_seq=1 ttl=64 time=0.194 ms

--- vicxp ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms

-bash-2.05b# ping linuxbox
PING linuxbox (192.168.0.2) 56(84) bytes of data.
64 bytes from linuxbox (192.168.0.2): icmp_seq=1 ttl=64 time=0.068 ms

--- linuxbox ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.068/0.068/0.068/0.000 ms
-bash-2.05b#

From my xp Machine.

Pinging LINUXBOX [192.168.0.2] with 32 bytes of data:

Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64
Reply from 192.168.0.2: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.0.2:
Packets: Sent = 3, Received = 3, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
^C
C:\Documents and Settings\Microsoft XBox>


My connection seems ok. from here. I made changes in host file in windows to recognize linuxbox as 192.168.0.2

As far as it being in a workgroup i dont really know . I have windows set up in workgroups 'WORKGROUPS' and linux in the same one. But when i connect to my xp smb client at atimes i see DOMAIN = [VICXP] .. sometimes workgroup.

Last edited by shookie; 05-16-2004 at 06:46 PM.
 
Old 05-16-2004, 07:01 PM   #4
wrat
Member
 
Registered: May 2004
Posts: 245

Rep: Reputation: 30
well they both need to be on the same workgroup...when I set up my linux box I i had the option for name and domain ..when I networked my xp box to my linux box I changed the workgroup on my xp box to match that of my linux box..I then created a username and password on my linux box that matched the login on my xp and it worked...what do you get when you try #smbd -l (name of xp box) .......
 
  


Reply


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
Error Mounting Windows SMB Share plustiber Linux - Networking 1 06-27-2005 12:39 AM
error when connecting to smb server thru windows jayakrishnan Linux - Networking 1 06-14-2005 09:47 AM
Samba Share SMB.CONF Access Denied mikeaustn Linux - Software 1 09-28-2004 03:14 PM
Can't access a smb share from windows digitalspillage Linux - Newbie 2 10-05-2003 09:42 AM
smb windows share need help pissy_pants Linux - Networking 4 09-04-2003 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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