Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can't access samba 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
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Sun Oct 29, 2006 6:05 pm    Post subject: I can't access samba shares Reply with quote

This is really driving me nuts :evil:
I want to give access to some shares for a Windows client. But I can't access the partition (I'm testing with konqueror to see if it would connect).

The home folders can be access without problems, it's the other folders that I can't. When I type in konqueror
Code:
smb://mafalda/Temp

I get
Code:
An error occurred while loading smb://mafalda/Temp:
The file or folder smb://mafalda/Temp does not exist.

But I swear the Temp share exists and all users should have access there. This is my smb.conf
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2006/10/29 18:17:32

[global]
workgroup = MILKYWAY
acl compatibility = winnt
server signing = Auto
preferred master = no
domain master = no
ldap ssl = No
valid users = batistuta
restrict anonymous = no
max protocol = NT

[homes]
valid users = %S
read only = No
browseable = No

[Backup]
read only = no
case sensitive = no
strict locking = no
guest ok = yes
msdfs proxy = no
path = /share/backup

[Temp]
case sensitive = no
strict locking = no
guest ok = yes
msdfs proxy = no
read only = no
path = /tmp


Of course, I can't access backup either. Any ideas what is wrong? Thanks a lot

EDIT: here are my use flags for samba
Code:
[ Found these USE variables for net-fs/samba-3.0.23a ]
 U I
 + + acl          : Adds support for Access Control Lists
 + + async        : Enables asynchronous input/output
 - - automount    : Enables automount support
 + + cups         : Add support for CUPS (Common Unix Printing System)
 - - doc          : Adds extra documentation (API, Javadoc, etc)
 - - examples     : Install example source code
 - - kerberos     : Adds kerberos support
 + + kernel_linux : <unknown>
 + + ldap         : Adds LDAP support (Lightweight Directory Access Protocol)
 - - linguas_ja   : <unknown>
 - - linguas_pl   : <unknown>
 - - oav          : Enables support for anti-virus from the openantivirus.org project
 + + pam          : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 + + python       : Adds support/bindings for the Python language
 + + quotas       : Enables support for user quotas
 + + readline     : Enables support for libreadline, a GNU line-editing library that almost everyone wants
 - - selinux      : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 + + swat         : Enables support for swat configuration gui
 - - syslog       : Enables support for syslog
 - - winbind      : Enables support for the winbind auth daemon
[1]+  Done                    xemacs /etc/samba/smb.conf
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 717
Location: Barcelona, Spain

PostPosted: Mon Oct 30, 2006 6:50 pm    Post subject: Reply with quote

This is the code I use for my share to be accessed from a windows client.
Code:
[compartits]
        comment = compartits
        path = /mnt/hdb/dades/Compartits
        guest ok = yes
        browseable = yes
        writable = yes


And the permissions I have for the file:
Code:
$ ls -lauthor /mnt/hdb/dades
drwxrwxrwx  5 mimosinnet 4,0K 30 oct 19:47 Compartits


Hope it helps...
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