[Samba] Worked examples?

Craig White craigwhite at azapple.com
Tue Dec 13 15:58:23 GMT 2005


On Tue, 2005-12-13 at 10:45 -0500, Donald Musser wrote:
> I've been experimenting with Samba a bit. I won't claim to know a whole lot
> about it, because I don't, and I'm even somewhat of a newbie when it comes
> to Linux/UNIX. But I've been working with the worked examples that the HOW
> TO docs describe on the website, configuring my smb.conf file as is stated.
> I'm running Samba 3.0.14a-2 on Fedora Core 4, and I'm running into a bit of
> a problem. When I work with the example of a simple Anonymous Read-Only File
> Server, I am able to access those files from my WinXP system just fine.
> However, when I get to the example of a Secure Office Server, I am able to
> log in using any of the users I specified in my config, but none of the
> users are able to view any files I've placed in that share -- not even the
> owner of the files. This is the case when I try to access the files from
> both my WinXP system and locally by logging into the Samba server from
> command line. I can post my smb.conf file if needed, but I was wondering if
> there's something common that I'm missing...
----
why not just figure out 1 share and the rest of the shares should be
obvious?

for example...one of my shares...

[files]
        valid users = @dom_users
        writable = yes
        comment = Home Directories
        path = /home/samba/files
        create mode = 775
        writable = yes
        directory mode = 775

and to check the permissions on that directory...

# ls -ld /home/samba/files/
drwxrwsr-x    6 root     dom_users     4096 Mar 10
2005 /home/samba/files/

# getent group |grep cami
dom_users:x:503:cami,carley,craig,tom,teri

thus cami, who is a member of dom_users group has read/write access

Why not post something similar about one of your shares and perhaps it
will be obvious to use.

I am presuming that you are using 'security = user' in smb.conf.

Craig



More information about the samba mailing list