Linux - SoftwareThis 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
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.
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.
I recently installed Suse 10.0 and Samba. I have a little experience with Samba in the past and from what I remember, it's always been a pain to setup. So far, I am unable to connect to the share I setup on my linux box from my WinXP Pro PC. When I view my workgroup computers from Windows I am able to see my linux box, but I am unable to access any shares on it. Here is my smb.conf file as of right now...
Code:
[global]
workgroup = Mshome
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
socket options = IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
preferred master = yes
create mask = 0770
directory mask = 0750
[test]
comment = For testing only
path = /home/public
read only = no
guest ok = yes
Here's the directory I want to share (for now)...
Code:
drwxrwxrwx 2 root root 4096 2006-01-31 19:06 public
When I try to map to \\linux-ip\test from my windows machine the connection times out. I did a tcpdump while trying to connect and I get the following...
(windows PC ip is 192.168.1.100, linux box is 192.168.1.101)
Code:
17:20:06.859564 IP 192.168.1.100.seaview > peewee.microsoft-ds: S 2612858671:2612858671(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:06.859959 IP 192.168.1.100.tarantella > peewee.netbios-ssn: S 3899073362:3899073362(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:09.832782 IP 192.168.1.100.seaview > peewee.microsoft-ds: S 2612858671:2612858671(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:09.832917 IP 192.168.1.100.tarantella > peewee.netbios-ssn: S 3899073362:3899073362(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:15.768831 IP 192.168.1.100.seaview > peewee.microsoft-ds: S 2612858671:2612858671(0) win 16384 <mss 1260,nop,nop,sackOK>
17:20:15.768965 IP 192.168.1.100.tarantella > peewee.netbios-ssn: S 3899073362:3899073362(0) win 16384 <mss 1260,nop,nop,sackOK>
Can anyone help me out? I'm stumped. Thanks for your help.
I checked the tutorials but didn't see anything for Samba. Do you have a link perhaps? I've looked for tutorials on the web as well, but none of them have helped really.
This one is pretty good, but if there is a GUI present for it, you should just use that. When installed on Fedora, its in Desktop->System Settings->Server Settings->Samba, but I'm not sure where it is on Suse. The GUI basically autoconfigs the smb.conf file for you, but without most of the advanced features you have in your file already.
Also, run "ifconfig" as root and make sure you actually have a MAC or hardware address. I spent months trying to figure out why it wouldn't work with that issue because pings would succeed from both the windows and linux machines to each other, but not between the bad card and the router.
Hmmm, the tutorial on this site is for mapping shares from windows to linux. I'm wanting to do the opposite. Linux -> Windows. My linux box being the server and my windows box being the client connecting to the share(s). I'll check out this tutorial at netfirms to see if it will help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.