John Bowden wrote:
JoeHill writes:
I've managed to get to the point where I've set up an smb password, added my
username to /etc/samba/smbpasswd, set the password, and configured smb.conf
like so:
[homes]
comment = Home Directories
browseable = yes
writable = yes
under share definitions.
LinNeighbourhood can now see the 'homes' dir as shared out, but when I try to
mount my home dir, I get:
[EMAIL PROTECTED] ~]$ smbmount //NODE4/homes /home/joehill/mnt/NODE4/homes/
Password:
9064: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid
share name) SMB connection failed
So what *is* the share name?
--
JoeHill / RLU #282046 / www.freeyourmachine.org
+++++++++++++++++++++++++++
"When you give food to the poor, they call you a saint. When you ask why the
poor have no food, they call you a communist." -- Archbishop Helder Camara
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________
The share name is the name other machines see. For example all
my machines have names like jack, pete, andy or john. If they
dual boot it might be john-xp or john-linux. Jack is my MDV
samba server and file sharing machine. On it I share my home
directory and in that directory I share sub directories.
/home/Documents
/home/Download
/home/Music
/home/share01.
On my windows box I see this:
DOCUMENTS On Jack on Samba Server 3.0.20 (Jack)
download on Samba Server 3.0.20 (Jack)
share01 on Samba Server 3.0.20 (Jack)
music on Samba Server 3.0.20 (Jack)
Down Load John_XP on John-xp.
From this you can also see I share the Down Load directory on my
windoz box. Make shire your firewall is not blocking the samba
server's ports as I have had similar messages when running the
MDV firewall and when running the local isp's antivirus/firwall
on windoz
registered Linux user number 414240
Call me crazy and impetuous, but wouldn't 'smb4k' be a better choice
than LinNeighborhood? Also, you may need to adjust the Linux permissions
for the shared folder as well. From my experience, it's easier to start
with full permissions for all possible users and then start adding
restrictions and permissions back into the mix, one at a time, until you
get what you're looking for.
One more thing. You should also consider adding user and group
permissions into your smb.conf file for each share. Note that 'writable'
is also different from 'writeable'.
Normally, I use webmin to get the job done. It's a lot easier to set up
and use, while saving you from having to switch back and forth between
systems to get things tweaked the way you want them.
One thing more to look out for - if using webmin, it's always a good
idea to re-enter your samba passwords (in the Samba/Users section of
webmin as if they were NEW passwords, since they can sometimes get
screwed up or not properly converted.
You can edit config files until the cows come home and they may still
not work the way you want, but after getting things exactly the way you
want them using webmin, take a look at your smb.conf file and compare it
to the one you have now, because of course, you're gonna save a copy of
your existing one before making any changes, right?
You might be in for a surprise as to how webmin edited the file. It's
often an education in itself.
HTH's
DL
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________