Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-22-2004, 11:36 PM
|
#1
|
Member
Registered: Apr 2004
Posts: 39
Rep:
|
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
|
|
|
04-23-2004, 12:01 AM
|
#2
|
Member
Registered: Apr 2004
Posts: 39
Original Poster
Rep:
|
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
|
|
|
04-23-2004, 01:54 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Posts: 8
Rep:
|
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.
|
|
|
04-23-2004, 04:10 AM
|
#4
|
Member
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209
Rep:
|
I am not sure, this will help you,
is your lisa service running, if not try starting it and access your other machine
|
|
|
04-23-2004, 01:35 PM
|
#5
|
Member
Registered: Apr 2004
Posts: 39
Original Poster
Rep:
|
could you tell me where i can get linneighborhood for redhat 8.
thx
jmax24
|
|
|
04-23-2004, 01:39 PM
|
#6
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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.
|
|
|
04-23-2004, 06:24 PM
|
#7
|
Member
Registered: Apr 2004
Posts: 39
Original Poster
Rep:
|
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
|
|
|
04-26-2004, 01:59 AM
|
#8
|
Member
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209
Rep:
|
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.?
|
|
|
04-26-2004, 06:38 AM
|
#9
|
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake
Posts: 17
Rep:
|
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)
|
|
|
04-26-2004, 06:56 AM
|
#10
|
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep: 
|
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.
|
|
|
05-04-2004, 04:54 PM
|
#11
|
Member
Registered: Nov 2003
Location: Toronto, Canada
Distribution: Gentoo AMD64
Posts: 374
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|