LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SAMBA: Connecting from rh9.0 smb 3.0 > windows xp share (https://www.linuxquestions.org/questions/linux-software-2/samba-connecting-from-rh9-0-smb-3-0-windows-xp-share-182149/)

shookie 05-16-2004 03:19 PM

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.

wrat 05-16-2004 05:30 PM

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..

shookie 05-16-2004 06:45 PM

-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.

wrat 05-16-2004 07:01 PM

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) .......


All times are GMT -5. The time now is 11:44 PM.