SAMBA: cannot share directory when it's not under "/" dir
Dear all,
I was able to share a directory when it's under "/" (root) directory between the server and an XP client, but when I want to share a directory that located in different partition, I got an error. Suppose I have a partion /usr/local that is separated from / and I want to use /usr/local/share as a Samba share directory. Therefore in smb.conf: Code:
[share] Code:
smbd/service.c:make_connection(1366) What does this mean? regards, ethereal1m |
Samba shares
I tried what you did and found my smb.conf file looked like this:
Code:
[global] It's possible you are using "old" terminology. Try changing the "writeable" & "public" lines. Did you edit the smb.conf by hand or use a GUI tool? I used to do it all by hand, but since I started using openSuse 11.1, I found the YaST tool worked OK. The GUI tool is not as easy to use, but seems to work just as well once I got the hang of the differences. |
I changed the "writable" and "public" line, but still get the same error. The main question is:
Code:
smbd/service.c:make_connection couldn't find service usr The message comes out as soon as I execute: Code:
net use * \\firefly\usr\local\share /user:ethereal1m When I do this (where /share worked): Code:
path = /share/temp Code:
smbd/service.c:make_connection_snum(1194) What's going on here? any ideas? thanks |
What are the permissions on /usr/local/share/ ?
I was getting the same error in my smbd log when my permissions wern't correct for the dir being accessed (I just had a simple everyone browsing as guest; and guest didn't have any permissions); |
Can not tell if what you posted was a typo but when trying to connect via the command line you need to use the samba share name and not the path. i.e.
net use * \\firefly\share As already suggested make sure the permissions are set correctly for shared directory. |
I just realized that when I execute:
Code:
net use * \\server\share /user:ethereal1m thanks guys |
All times are GMT -5. The time now is 02:27 AM. |