SMB fileserver

Robert Story rstory-l at revelstone.com
Thu Mar 24 15:29:29 MST 2005


DG> On Fri, 25 Mar 2005 13:57:19 -0600, Steve Meyer wrote:
DG> > I would like to get SMB file sharing running on my YDL 4.0 box.  I 
DG> > checked the box for SMB in 'Server Settings/Services' and restarted the 
DG> > computer.  I have been trying to use the default setup via the 'Control 
DG> > Center/Samba Configuration'.  I tried to connect from the OS X box 
DG> > using smb://[my ip addr]/[user home folder name] and get a message 
DG> > "Could not connect to the server because the name or password is not 
DG> > correct"...however, I have not entered in a name or password yet.  

Do you have iptables running? Did you configure it to let samba traffic
through?

Add these two lines (probably wrapped in this email, so make sure to join them
in the file) to/etc/sysconfig/iptables, then run 'service iptables restart'.
Replace 192.168.1.0/16 with the netmask for where you want to accept packets
from:

-A RH-Firewall-1-INPUT -p udp -m udp -s 192.168.1.0/16 --dport
netbios-ns:netbios-ssn -j ACCEPT

-A RH-Firewall-1-INPUT -p tcp -m tcp -s 192.168.1.0/16 --dport
netbios-ns:netbios-ssn -j ACCEPT


That should get you to the user/pw stage. See below for more on that.


And On Thu, 24 Mar 2005 13:19:09 -0800 Daniel wrote:
DG> If there's no Windows in the equation, forget samba and use netatalk or
DG> NFS. There are apparently endian issues with samba under YDL.

One BIG (imho) disadvantage with netatalk is that they dropped support for
symbolic links. No problem for remote Mac users, but for die-hard unix folks
who use symlinks regularly, it's a huge problem. i.e. if you use symlinks, use
NFS or SMB.

This bug has a patch to the samba source rpm that will build w/out
optimizations, which fixes the issue with smbpasswd (i.e. it wasn't their
fault, it was gcc).




More information about the yellowdog-general mailing list