Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba -:- Win98 machines can't open shares
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KristyX
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 206
Location: Malaysia

PostPosted: Sat May 15, 2004 4:34 am    Post subject: Samba -:- Win98 machines can't open shares Reply with quote

Hi!

I've got Samba running and the good news is that my xffm (XFCE's file
manager) can see and browse the network :)

The not-so-good news is that even though the Win98 machines on the
network can see me and see the list of folders I have shared, they cant
access them.

The error that pops-up goes something like the share is not accessible,
and please make sure you typed the name correctly.

Samba's log for that specific connecting-comp's hostname says:

Code:
[2004/05/15 12:05:29, 0] smbd/service.c:make_connection_snum(677)  '/home/kristy/downloads/share' does not exist or is not a directory, when connecting to [public]


My smb.conf is pretty simple:

Code:

[global]
   workgroup = MAIN-ONE
   server string = Gentoo
   printcap name = cups
   printing = cups
   load printers = yes

   log file = /var/log/samba/log.%m
   max log size = 50

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   interfaces = lo eth0
   bind interfaces only = yes

   hosts allow = 127.0.0.1 192.168.0.1/24
   hosts deny = 0.0.0.0/0

   security = share

   guest account = samba
   guest ok = yes

   [public]
   comment = Public Files
   browseable = yes
   public = yes
   create mode = 0766
   guest ok = yes
   path = /home/kristy/downloads/share


I basically copied the conf from Gentoo's Samba Docs and modified it
to suit my needs.

The share folder, btw, really does exist:

Code:

root@kristy kristy # ls -l /home/kristy/downloads/
drwxr-xr-x    2 kristy   100          8192 May 11 16:24 share


As for the guest account, I only created it using "smbpasswd -an guest".
Is that alright?


Thanks,
Kristy
_________________
Knowledge is a process of piling up facts; wisdom lies in their simplification. [Martin Fischer]
Back to top
View user's profile Send private message
peterton
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 110

PostPosted: Sat May 15, 2004 10:09 am    Post subject: Reply with quote

Check the permissions for each directory in your path. If the home dir is 750 it won't work for example.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat May 15, 2004 1:20 pm    Post subject: Reply with quote

in your smb.conf your guest user is called samba
do you have a unix user called samba and is that user mapped to guest in /etc/smbusers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum