hey,
I'm trying to share the homes directory.
I can see the directory "homes" when I type: \\IP-address (in windows 7)
When I try to open it, it says:
"ip-address\homes is not accessible. You might not have permission to use this network resource.
Contact the administrator of this server to find out if you have access permissions
This is the config I have at the moment:
[homes]
comment = Home Directories
writable = yes
browseable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
I have set up another share to test and this does work:
[projects]
browseable = yes
comment = Projects
map to guest = bad password
writeable = yes
path = /var/www/html
What am I doing wrong here?
Thx in advance :-P
---------
UPDATE
---------
I've filled in \\IP-address\username and this does work :o
That's great, but still can't figure out why I can't access the "homes" directory. If someone could help me out with this (just out of curiosity) that would be awesome. :-)
Can't connect to samba share 'homes' directory
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Can't connect to samba share 'homes' directory
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
Your question is more about basic Samba than CentOS. The standard Samba [homes] share maps to the user's home directory - for user "username" that would be "/home/username". Exporting the /homes directory is not really recommended, but could be done by creating a separate share such as
[code]
# Publicly accessible /home directory, but read only, except for people in
# the "staff" group
[homedirs]
comment = Home Directories
path = /home
public = yes
writable = yes
printable = no
write list = +staff[/code]
Your question is more about basic Samba than CentOS. The standard Samba [homes] share maps to the user's home directory - for user "username" that would be "/home/username". Exporting the /homes directory is not really recommended, but could be done by creating a separate share such as
[code]
# Publicly accessible /home directory, but read only, except for people in
# the "staff" group
[homedirs]
comment = Home Directories
path = /home
public = yes
writable = yes
printable = no
write list = +staff[/code]