Visit Jeremy's Blog.
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-22-2004, 08:32 AM   #1
Registered: Nov 2003
Posts: 32

Rep: Reputation: 15
file sharing by using samba

I have two computers. win 2k server is installed in one computer and red hat linux 9 is installed in another computer.

I installed samba 3.04 on linux computer to share files. I am using webmin to configure samba and other stuff. I can see server name(linux) in "Computers near me" section on win 2k server, but when i try to access it, it says "\\frodo is not accessible. The network path was not found". i double-checked if samba is running. it's running ok.

can anybody tell me how to do it?
Old 07-22-2004, 08:46 AM   #2
LQ Newbie
Registered: Jun 2004
Location: norway
Distribution: tsl 2.1
Posts: 18

Rep: Reputation: 0
Can you access the linux-shares with \\ip.address via start->run ?
Do you have an entry for netbios in smb.conf?
Old 07-22-2004, 08:55 AM   #3
Registered: Nov 2003
Posts: 32

Original Poster
Rep: Reputation: 15
file sharing

thank you for reply.

no, i can access with ip address.

and i have an entry for netbios in smb.conf like this

netbios name=frodo
netbios aliases=frodo
Old 07-22-2004, 09:42 AM   #4
LQ Newbie
Registered: Jun 2004
Location: norway
Distribution: tsl 2.1
Posts: 18

Rep: Reputation: 0
Could you post your smb.conf ?
Do you have a samba-user added?

Try adding a wins server to the windows-machine, with the ip of your linuxmachine.

my smb.conf

  workgroup         = Home
  server string     = Cute fileserver
  security          = user
  hosts allow       =
  log file          = /var/log/samba/log.%I
  passdb backend    = tdbsam
  os level          = 32
  domain master     = no
  preferred master  = no
  wins support      = yes
  wins server       =
  wins proxy        = yes
  netbios name      = Aoi
  dns proxy         = yes
  case sensitive    = no

  encrypt passwords = yes

# Shares

  public           = no
  browseable       = no
  read only        = no

  path             = /stor/
  public           = yes
  writable         = no
  read only        = yes
  browsable        = yes
  valid users      = view

  path             = /stor/5/upload
  public           = no
  writable         = yes
  read only        = yes
  browsable        = yes
  valid users      = upload
  write list       = upload

Last edited by chop; 07-22-2004 at 09:49 AM.
Old 07-22-2004, 09:49 AM   #5
LQ Newbie
Registered: Jun 2004
Distribution: Red Hat 7.3
Posts: 11

Rep: Reputation: 0
Assuming that your name resolution is working and \\someip works...

I think what is happening is that there are no shares configured. The W2K isn't able to parse our \\frodo properly. Samba won't have any C$ or shares so there won't be anything for it to connect to and since \\frodo isn't a complete UNC path so it errors

Edit your smb.conf file and make sure you have some kinda share there Here is a really fast (but insecure example) Put it toward the end of the smb.conf file. Log in as root. If it works, remove this stuff and do it right.

path = /home
public = yes
only guest = yes
writable = yes
printable = no


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
Need some help on Samba file sharing rodneybeighle Linux - Networking 1 09-08-2005 08:35 AM
Samba file sharing kylere Linux - Newbie 2 08-06-2005 01:40 PM
File sharing without Samba? valnar Linux - Networking 3 05-26-2005 02:08 PM
File sharing using Samba adammthompson Linux - Networking 4 12-02-2004 08:01 PM
Samba File Sharing tstephens Linux - Software 1 10-02-2003 10:23 AM

All times are GMT -5. The time now is 01:20 PM.

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