lnthai2002 at aim.com
2006-Feb-16 22:36 UTC
[CentOS] windows XP pro can not access samba share folder.
Hi, I know that this question has been asked many times but i can't find the correct solution from anywhere. I have 4 computer on the LAN connected as follow. comp1(WinXP)---------------------------------> hub1---->router comp2(winXP)---------------------------------> hub1---->router comp3(WinXP)wireless ---> access point----> hub1--->router comp4(CentOS 4.2)-------------------------------------->router I have samba installed on CentOS 4.2 with SELinux enable, everything is up 2 dated. I use swat to make a share folder. testparm doesn't show anything suspicious. Connecting to samba share folder from the same CentOS machine is possible. However, my Windows XP machines can only see my linux machine through network neigbourhood but they can not access it. Here is my smb.conf --------------------------------------------------------------- # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2006/02/16 14:49:12 # Global parameters [global] workgroup = MSHOME ;note that encrypt passwd = yes and smb passwd file = /etc/samba/smbpasswd by default [fat32Share] comment = Shared files from Darkportal path = /mnt/fat32/share valid users = user read only = No guest ok = Yes [nimbus] comment = Samsung printer, the white one on Darkportal path = /var/spool/samba guest ok = Yes printable = Yes ------------------------------------------------------------------------- - Do i have to open anyport to allow windows machines access samba shares? Does this have anything to do with SELinux? Any suggestion is welcomed. Thanks in advance Thai ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
Ignacio Vazquez-Abrams
2006-Feb-17 00:04 UTC
[CentOS] windows XP pro can not access samba share folder.
On Thu, 2006-02-16 at 17:36 -0500, lnthai2002 at aim.com wrote:> Do i have to open anyport to allow windows machines access samba > shares?Yes. 137-139/tcp and 445/tcp.> Does this have anything to do with SELinux?You might want to enable samba_enable_home_dirs if you want you home directories accessible via Samba. -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060216/00d0d492/attachment-0002.sig>