LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-22-2004, 11:36 PM   #1
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Rep: Reputation: 15
Samba and Windows XP........ Please Help......


Hey there again, I am really having a problem getting samba configured on my redhat 8 box. I have a home network with my redhat 8 box and a windows xp machine. I have a lynksys router that feeds them both and have no problems connecting to the internet or anything like that. Basically, i am just trying to access files on the windows xp machine from my linux box and vice versa. I have a user named Jeff on my windows xp machine and want to know how i can configure samba so that i go into network neighborhood and just click on the samba server and get access to the shares. Here are the smb.conf, smbpasswd, smbusers files that i have right now.

smb.conf

# Global parameters
[global]
workgroup = WORKGROUP
netbios name = SERVER
server string = Samba Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 34
preferred master = No
local master = No
domain master = No
dns proxy = No
valid users = root, Jeff
admin users = root, Jeff
hosts allow = 192.168.10.

[Home]
comment = Home Directory
path = /root
valid users = Jeff, root
read only = No

smbpasswd

Jeff:500:54BD2043FF7EF735AAD3B435B51404EE:4F847E94464C93FD099269766F651A96:[UX ]:LCT-408897DF:


smbusers

# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
Jeff = administrator admin


there does not have to be any special security or anything with this home network, i am just trying to get access to the files on one machine from the other. if anyone can see what i am doing wrong here, some help would be greatly appreciated.

ohh, i am also logged in as root when i am running samba, but i do have a user named Jeff with the same password as the windows machine and the smbpasswd file.

thx in advance for the help

jmax24
 
Old 04-23-2004, 12:01 AM   #2
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
hey again, i just thought i would let u know that i can ping the linux box from the windows machine, and this is the message i get when i run smbclient -L Client

[root@localhost root]# smbclient -L client
added interface ip=192.168.10.102 bcast=192.168.10.255 nmask=255.255.255.0
Got a positive name query response from 192.168.10.101 ( 192.168.10.101 )
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED

Server Comment
--------- -------
CLIENT Main Computer
SERVER Samba Server

Workgroup Master
--------- -------
WORKGROUP CLIENT


i hope this clarify's things a bit

thx again

jmax24
 
Old 04-23-2004, 01:54 AM   #3
humbabba
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
I don't know the answer to you question, but have you tried using the linneighborhood frontend? Maybe that would make it easier. I got samba working properly with that and i haven't needed to fiddle with the config files.
 
Old 04-23-2004, 04:10 AM   #4
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
I am not sure, this will help you,
is your lisa service running, if not try starting it and access your other machine
 
Old 04-23-2004, 01:35 PM   #5
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
could you tell me where i can get linneighborhood for redhat 8.

thx

jmax24
 
Old 04-23-2004, 01:39 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
could you tell me where i can get linneighborhood for redhat 8.
http://rpm.pbone.net/index.php3/stat....i386.rpm.html

good luck.
 
Old 04-23-2004, 06:24 PM   #7
jmax24
Member
 
Registered: Apr 2004
Posts: 39

Original Poster
Rep: Reputation: 15
thanx PEACEDOG, i installed linneighborhood and am able to see the other machine and access it with the user Jeff, i still can not access the linux box from the windows xp machine. If anyone has any ideas please let me know.

thx again,

jmax24
 
Old 04-26-2004, 01:59 AM   #8
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
just curiosity
even with ip address you are not able to reach the lin machine.

if you are able to reach the machine

what;s your log file says.?
 
Old 04-26-2004, 06:38 AM   #9
xtec2
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
installing samba

Jmax24,

I'm impressed that you got Samba installed as I'm still trying to. I downloaded version 3.0.2a and I tried all day to install it so that I could "talk to" my XP box. I'm having no luck getting to the smb.conf file. I also learned that there is something called SWAT which I can bring up in the Web browser (for a GUI config) but I keep getting error messages when I try to do that.

So, is there info you can point me to with simple instructions on how to do this? Did you configure from the shell or with a GUI?

Thanks for any help.

XTEC2
(Obviously, I'm new at this and I'm running RedHad 9.0 on the Linux box)
 
Old 04-26-2004, 06:56 AM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
So, is there info you can point me to with simple instructions on how to do this? Did you configure from the shell or with a GUI?
http://us1.samba.org/samba/docs/man/

good luck.
 
Old 05-04-2004, 04:54 PM   #11
Phorem
Member
 
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374

Rep: Reputation: 30
I don't know if you have it working yet, but i use this config at work and i can see my files fine on the XP machine. It's not perfect or necessarily safe, but it works fine.

[global]
comment = Linux Server 2.6.5 (Secure Linux)
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
server string = Linux Server
workgroup = ICEFIELDS
netbios name = ytt304
security = SHARE
passdb backend = guest

[share]
comment = data
path = /home/data
read only = no
guest ok = yes
browseable = yes

Also check for the guest account.

testparm -s -v | grep "guest account"

Make sure that account exist. Should spit out something like "nobody".

If you change the name of the work group and add the folder "data" under home (also change the permissions for the folder as well), i can almost say for sure this setup will work - even if you don't change the net bios name. But the workgroup has to be the same on XP and on Linux (at least the name in smb.conf).

Edit** - I said above i could see my XP machine from liunx, but obviously i can see my Linux machine from XP just fine as well. I just type " \\ytt304 " in explorer and there she is :-)

Last edited by Phorem; 05-04-2004 at 05:15 PM.
 
  


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
Samba 3.0.6 - How to mount Samba Shares from Windows 2003? kp1 Linux - Software 2 09-10-2004 06:03 PM
Samba and Windows NT Dionysos Linux - Networking 0 01-03-2003 04:45 AM
samba seeing windows chrismiceli Linux - Software 5 11-19-2002 10:16 AM
samba and windows manthram Linux - Networking 3 02-07-2002 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:48 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