Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-24-2004, 04:54 PM   #1
LQ Newbie
Registered: Jan 2004
Location: Toronto, Canada
Distribution: slackware
Posts: 13

Rep: Reputation: 0
samba/Can't see Linux files in XP Network Places


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
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 =
hosts allow = 192.168.1. 127.
;socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

comment = Home Directories
read only = No
browseable = No

comment = All Printers
path = /var/spool/samba
guest ok = yes
print ok = yes

path = /tmp
guest ok = yes

Here is how things look from the Linux side:

root:/etc/samba > smbclient -L desktop2004 -N
added interface ip= bcast= nmask=
Got a positive name query response from ( )
Domain=[DAVESWORLD] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
E$ Disk Default share
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
--------- -------

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 >
Old 01-24-2004, 05:23 PM   #2
LQ Newbie
Registered: Jan 2004
Location: Toronto, Canada
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to logon to samba(linux) from network places Ubuntu 2 06-14-2005 06:51 PM
Where Files Are Places easyex Linux - Newbie 0 03-21-2004 01:35 AM
samba/Can't see Linux files in XP Network Places RogueWave Linux - Security 2 01-24-2004 04:59 PM
Can't see Samba server in My Network Places jsabbott25 Linux - Networking 3 06-25-2003 11:53 AM
Accessing "Network Places" On Linux? DiZASTiX Linux - Networking 2 06-05-2003 11:02 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration