the configuration file is somewhere in /etc (e.g. /etc/samba/smb.conf). so there are different parts on it. firstly there are sections like [global]. global is special one, with options which are applied to every share, except they are overwritten there. so then you can make your own shares with [], that would be the name you can use in a windows (e.g. net use * \\\). for basic use the cfg-file could look like:

workgroup = WORKGROUP
create mask = 0644
directory mask = 0755

browseable = no
read only = no
path = /tmp

that gives you the opportunity to mount the tmp dir on a windows machine. also there are some other special shares like printers or homes. also you can allow/deny users, hosts, etc. due to a special notation (%S).



~ by frankooh on 2011-01-21T10:27:47+00:00.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: