View previous topic :: View next topic |
Author |
Message |
darni n00b


Joined: 14 Aug 2003 Posts: 16 Location: TAMPERE, FINLAND
|
Posted: Fri Mar 05, 2004 7:53 pm Post subject: Problem sharing /home directory with samba |
|
|
Hi all.. Just reinstalled gentoo (removed windows) and having problems. here is my smb.conf:
[global]
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
load printers = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
obey pam restrictions = yes
encrypt passwords = yes
passwd program = /usr/bin/passwd %u
dns proxy = no
server string = AMD Athlon XP 2600+ Gentoo
printing = lprng
unix password sync = Yes
workgroup = Nexus
os level = 20
printcap name = /etc/printcap
security = share
max log size = 0
pam password change = yes
hosts allow = 192.168.1.
[music]
path = /home/darni/music
guest ok = yes
comment = music
read only = yes
[movies]
path = /idetwo/movies
guest ok = yes
comment = movies
read only = yes
[tv-series]
path = /ideone/tv-series
guest ok = yes
comment = tv-series
read only = yes
here is a part of h.log:
[2004/03/05 21:23:12, 0] smbd/service.c:make_connection_snum(677)
'/home/darni/music' does not exist or is not a directory, when connecting to [music]
[2004/03/05 21:23:16, 1] smbd/service.c:make_connection_snum(705)
h (192.168.1.34) connect to service movies initially as user nobody (uid=65534, gid=65534) (pid 3489)
[2004/03/05 21:23:21, 1] smbd/service.c:close_cnum(887)
h (192.168.1.34) closed connection to service movies
I am sharing my files to my xbox downstairs and to my other pc. Is there some mystical in home directory or why isn't it working? tv-series and movies directorys work fine. Any ideas? I am a big newbie in linux world  _________________ -darni
Gentoo Linux / Gentoo-dev-sources 2.6.4
Asus A7N8X Deluxe / XP2100@2600 / FX5600XT |
|
Back to top |
|
 |
John the Kiwi n00b


Joined: 03 Dec 2003 Posts: 39
|
Posted: Fri Mar 05, 2004 8:46 pm Post subject: |
|
|
Does the directory /home/darni/music exist?
Are the permissions correct on that directory? |
|
Back to top |
|
 |
darni n00b


Joined: 14 Aug 2003 Posts: 16 Location: TAMPERE, FINLAND
|
Posted: Fri Mar 05, 2004 8:49 pm Post subject: |
|
|
of course the dir exists, I'm not that newbie permissions are same in tv-series and movies dirs.
[darni@tux ~]$ ll
total 36
-rw-r--r-- 1 darni users 7977 Mar 5 06:41 DVR4361-25.jpg
drwxr-xr-x 4 darni users 760 Mar 3 06:38 download
-rw-r--r-- 1 darni users 20961 Mar 5 06:50 duox.jpg
drwxr-xr-x 10 darni users 248 Mar 5 21:41 music
drwxr-xr-x 2 darni users 208 Mar 4 21:44 temppi
drwxr-xr-x 6 darni users 152 Mar 2 22:09 tools
drwxr-xr-x 5 darni users 576 Mar 5 19:49 torrents
drwxr-xr-x 11 darni users 432 Mar 3 06:35 wares _________________ -darni
Gentoo Linux / Gentoo-dev-sources 2.6.4
Asus A7N8X Deluxe / XP2100@2600 / FX5600XT |
|
Back to top |
|
 |
darni n00b


Joined: 14 Aug 2003 Posts: 16 Location: TAMPERE, FINLAND
|
Posted: Sat Mar 06, 2004 9:43 pm Post subject: |
|
|
no idea? anyone? please  _________________ -darni
Gentoo Linux / Gentoo-dev-sources 2.6.4
Asus A7N8X Deluxe / XP2100@2600 / FX5600XT |
|
Back to top |
|
 |
Flolp n00b


Joined: 02 Jul 2003 Posts: 26
|
Posted: Sat Mar 06, 2004 10:16 pm Post subject: |
|
|
maybe some parent directory has strict permissions?
Not sure and it's sort of illogical but I remember problems accessing directorys even directly when I had set very strict permissions for their parent directorys, for example having
/home/flolp set to rwx/---/---
and trying to access
/home/flolp/test set to rwx/rwx/rwx
Check your permissions on /home and /home/darni
You might also try to set
[homes]
comment = Home Directories
browseable = no
writable = yes
which is in the default samba file, although you have to provide your samba username and password this way. |
|
Back to top |
|
 |
darni n00b


Joined: 14 Aug 2003 Posts: 16 Location: TAMPERE, FINLAND
|
Posted: Sun Mar 07, 2004 12:55 am Post subject: |
|
|
thanks... i had missed my /home/darni permissions i put there executable on and ... it works now  _________________ -darni
Gentoo Linux / Gentoo-dev-sources 2.6.4
Asus A7N8X Deluxe / XP2100@2600 / FX5600XT |
|
Back to top |
|
 |
|