samba/Can't see Linux files in XP Network Places
Hi,
Linux newbie running slackware kernel 2.4.22. I'm running samba on my linux PC, and am having trouble seeing my linux files from Windows Explorer in XP on my Windows PC. I have samba up and running in Linux, and can view and mount shared files from my Windows PC. I think I have opened ports 137, 138, and 139 using iptables commands in my rc.local file. When I navigate through My Network Places / Entire Network / Microsoft Windows Network, I can successfully see the workgroup which I set up in my smb.conf file ("Linuxtest"). However, if I click on it, I get the message "Linuxtest is not accessible. You might not have permission..." I have googled this problem quite a bit, and have found that this is a common problem, but cannot seem to find a soultion that works for me. My default username in windows is "Dave" and my username in Linux is "dave". I have created a samba userid "dave" corresponding to my Linux userid. I'm not sure if this matters, as I have no password set up in XP, and don't get prompted at any point for a password when I try to connect from Windows to Linux via Network Places/samba. Can anyone see where I'm going wrong? Here is my smb.conf file: # Global parameters [global] workgroup = LinuxTest server string = Samba Server security = user ssl CA certDir = /etc/ssl/certs log file = /var/log/samba.%m max log size = 50 dns proxy = No ;wins support = yes ;wins server = 192.168.1.2 hosts allow = 192.168.1. 127. ;socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba guest ok = yes print ok = yes [Test] path = /tmp guest ok = yes Here is how things look from the Linux side: root:/etc/samba > smbclient -L desktop2004 -N added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0 Got a positive name query response from 192.168.1.2 ( 192.168.1.2 ) Domain=[DAVESWORLD] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- E$ Disk Default share IPC$ IPC Remote IPC print$ Disk Printer Drivers SharedDocs Disk G$ Disk Default share Downloads Disk F$ Disk Default share Printer2 Printer CutePDF Printer ADMIN$ Disk Remote Admin C$ Disk Default share Printer Printer hp officejet g series Server Comment --------- ------- DESKTOP2004 Home Office Desktop PC Workgroup Master --------- ------- DAVESWORLD DESKTOP2004 LINUXTEST MYHOST root:/etc/samba > socklist type port inode uid pid fd name tcp 901 450 0 465 12 inetd tcp 37 442 0 465 4 inetd tcp 139 490 0 520 9 smbd tcp 79 448 0 465 10 inetd tcp 113 449 0 465 11 inetd tcp 21 444 0 465 6 inetd tcp 22 452 0 468 3 sshd tcp 23 445 0 465 7 inetd tcp 32769 919 1002 561 3 xterm udp 512 446 0 465 8 inetd udp 518 447 0 465 9 inetd udp 137 496 0 522 8 nmbd udp 137 493 0 522 6 nmbd udp 138 497 0 522 9 nmbd udp 138 494 0 522 7 nmbd udp 37 443 0 465 5 inetd root:/etc/samba > |
Problem solved. Added the following to my smb.conf file:
encrypt passwords = yes I get prompted for my username and password, and in I go. |
All times are GMT -5. The time now is 10:17 AM. |