|
43.
|
|
|
Now that <application>Samba</application> is configured, the directory needs to be created and the permissions changed. From a terminal enter:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:218(para)
|
|
44.
|
|
|
sudo mkdir -p /srv/samba/share
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:243(command)
|
|
45.
|
|
|
sudo chown nobody.nogroup /srv/samba/share/
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:244(command)
|
|
46.
|
|
|
The <emphasis>-p</emphasis> switch tells mkdir to create the entire directory tree if it doesn't exist. Change the share name to fit the environment.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:229(para)
|
|
47.
|
|
|
Finally, restart the <application>samba</application> services to enable the new configuration:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:258(para)
|
|
48.
|
|
|
sudo /etc/init.d/samba restart
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:264(command) docs/sharing/C/sharing.xml:431(command) docs/sharing/C/sharing.xml:547(command) docs/sharing/C/sharing.xml:965(command) docs/sharing/C/sharing.xml:1090(command) docs/sharing/C/sharing.xml:1220(command)
|
|
49.
|
|
|
The above configuration gives all access to any client on the local network. For a more secure configuration, see <xref linkend="samba-fileprint-security"/>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:271(para)
|
|
50.
|
|
|
From a Windows client, it should now be possible to browse to the <phrase>Kubuntu</phrase> file server and see the shared directory. To check that everything is working, try creating a directory from Windows.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../docs/sharing/C/sharing.xml:256(para)
|
|
51.
|
|
|
To create additional shares, simply create new <emphasis>[dir]</emphasis> sections in <filename>/etc/samba/smb.conf</filename>, and restart <emphasis>Samba</emphasis>. Make sure that the directory to be shared actually exists and that the permissions are correct.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:285(para)
|
|
52.
|
|
|
Resources
|
|
|
|
(no translation yet)
|
|
|
|
Located in
docs/sharing/C/sharing.xml:293(title) docs/sharing/C/sharing.xml:700(title) docs/sharing/C/sharing.xml:1115(title) docs/sharing/C/sharing.xml:1348(title)
|