[Samba] Strange behaviour with shares

James A. Dinkel jdinkel at bucoks.com
Mon Dec 4 15:36:06 GMT 2006

That snippet of code doesn't tell much.  And the file should be
smb.conf, not samba.conf.  Could you post the entire contents of the
file smb.conf located at /etc/samba?  If what you say is accurate, then
my guess is there is a section called [share installs] in the smb.conf.

James Dinkel

-----Original Message-----
From: sp4mmed Hotmail

I have recently discovered a rather strange happening with regards to
shares on one of our servers.
A user wanted to access a folder on our public directory and typed in
the following in their explorer:
"\\server\share installs"
What happened then is the strange part: they came face-to-face with the
root folder of the server!
I'm not an expert and the shares were set up by a techie who has since
left the company, so I couldn't ask him what he had done.
Here is a snippet of the samba.conf file that pertains to the above

        path = /shares/share
        read only = No
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        force directory mode = 0777
        guest only = Yes
        guest ok = Yes

As I said, I am not an expert, but the create mask, directory mode, etc
seem a little strange to me.
Our samba server version is 3.0.23a-1

If anyone has any suggestions or needs any further information with
regards to this, please let me know.
I would hate to think that I have a broken server implementation here. 
(Although I wouldn't be too surprised!)

Many thanks
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list