Review your favorite Linux distribution.
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 07-15-2004, 08:02 PM   #1
LQ Newbie
Registered: Jul 2004
Distribution: Red Hat Linux Shrike
Posts: 11

Rep: Reputation: 0
How to access Linux Shares from WINXP Pro?

Hey Guys..

Im having this problem regarding accessing shares and drives on my Linux Box form Windows Xp Pro ( obviously networked).

I manage to browse my files and shares on my WinXP machine from Linux, but not visa versa!

in WINXP PRO, I go to 'My Network Places' -> 'View Workgroup Computers' . I only see the winodows machine, not my linux box. Having said all that, i look at my 'Network Servers' on Linux RH9, and opens 'smb:///' and there i see the windows machine and the linux machine.

Ive networked the two machines, windows being the host 'internet conncection' sharing the connection with the linux machine. And it works good. So obviously it's got nothing to do with computers not communicating or whateva, but could any body give us a hand with this!.. that would be mostly apprciataed.

Thanx again... Murbz
Old 07-15-2004, 09:35 PM   #2
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 308

Rep: Reputation: 39
Linux shares

Hello murbz

I will bet the problem is in your/etc/samba/smb.conf file.

To eliminate a whole lot of quesing, why dont you post your smb.conf file for us to see.

If you would prefer, I will post mine which may be adaptable for your use.
Old 07-16-2004, 10:31 PM   #3
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
i had exact the same problem on my SuSE box...and the solution was to actually enable the samba server. i had the client enabled, thus i was able to browse the windows share, but since i did not have a server could not connect to the linux box.

i dunno how you start and set up the server on RH, but try to use webmin, or something
Old 07-16-2004, 11:25 PM   #4
Registered: Jan 2003
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
/etc/init.d/smb start
Old 07-17-2004, 06:10 AM   #5
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
On SUSE 9.1 these need to run as daemons so from a root console run KILLALL -TERM NMBD SMBD

then NMBD -D and SMBD -D -- that will at least ensure the SAMBA server and client daemons are running

Then from your Windows box browse your network places again -- you should then see your Linux Shares. ( I assume you've set up your configuration files OK).

If you still can't see any Linux shares on your Windows box or want to go through the process step by step here's what to do.

Note give the network time to connect -- might be a minute or two. You'll have to refresh the MIcrosoft Windows Network folder by double clicking on it in Windows again.

1) On your Linux box ensure the SAMBA system is working properly for example

jim@blackdog:~> findsmb

--------------------------------------------------------------------- JIMS-DESKTOP +[JIMS-DESKTOP] [Windows 5.1] [Windows 2000 LAN Manager] BLACKDOG [MSHOME] [Unix] [Samba 3.0.4-SUSE] unknown nis name

Here we have 1 Linux box and 1 Windows box connected OK

2) Look at your Windows Shares from Linux --you can skip this if you don't have any.

SUSE has a nice LAN browser on your desktop but if you can't use this or don't have this tool or Linneighborhood (doesn't work properly in SUSE 9.1 -- mount error address problem --but it's not needed anymore in that distro).

jim@blackdog:~> smbclient -L jims-desktop
Domain=[JIMS-DESKTOP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
E$ Disk Default share
K Disk
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
I$ Disk Default share
K$ Disk Default share
C Disk
D Disk
G$ Disk Default share
floppy Disk
F$ Disk Default share
G Disk
F Disk
E Disk
Ep1290 Printer EPSON Stylus Photo 1290
ADMIN$ Disk Remote Admin
Y Disk
C$ Disk Default share
H Disk
Domain=[JIMS-DESKTOP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master

Everything seems OK THIS way round -- we can get at the Windows Shares from Linux ( This is usually the EASIEST bit BTW).

Don't forget that Linux will only have READ / WRITE to FAT32 file systems / or FAT16 if you want to share a Card reader for reading digital camera photos etc from a Compact Flash / other type of digital camera card. I'd suggest you have one partition as FAT32 for sharing data with Linux. NTFS file systems are READ ONLY.

3) Now let's see what we've made available to Windows from your Linux box. I've made a home directory and 1 file I've called WINSHARE

jim@blackdog:~> smbclient -L blackdog
Domain=[BLACKDOG] OS=[Unix] Server=[Samba 3.0.4-SUSE]

Sharename Type Comment
--------- ---- -------
profiles Disk Network Profiles Service
users Disk All users
groups Disk All groups
jim Disk Home Directories
print$ Disk Printer Drivers
winshare Disk share with windows
IPC$ IPC IPC Service (File server)
ADMIN$ IPC IPC Service (File server)
Domain=[BLACKDOG] OS=[Unix] Server=[Samba 3.0.4-SUSE]

Server Comment
--------- -------

Workgroup Master
--------- -------

If you can't see what you've defined for your Windows Box to be allowed to access then your config is incorrect.

Use the SAMBA config tool (in SUSE it's done easily under YAST) but other distros have easy config tools as well.

You should see all these on your Windows box -- except IPC$, PRINT$ and ADMIN$. You'll see the user jim under Users. You will have to enter userid and password to connect then it should be fine.

Last edited by 1kyle; 07-17-2004 at 06:34 AM.


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
WinXP cannot access samba shares from RH9 kc8tbe Linux - Software 24 02-20-2006 08:33 PM
WinXP Cannot Access RH9 Shares SpotsPaw Linux - Networking 8 01-24-2006 01:10 AM
Samba: Can't access shares with WinXP thorax Linux - Software 14 07-28-2004 06:13 AM
access linux shares from winxp flynnhandley Linux - Networking 2 08-27-2003 02:55 PM
trying to access w2k shares from linux marvc Linux - Networking 1 08-29-2002 12:35 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:30 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