|
1479.
|
|
|
First, edit the following key/value pairs in the <emphasis>[global]</emphasis> section of <filename>/etc/samba/smb.conf</filename>:
|
|
|
|
Først endre de følgende nøkkel-/verdi-parene i <emphasis>[global]</emphasis>-seksjonen av <filename>/etc/samba/smb.conf<filename>:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:113(para)
|
|
1480.
|
|
|
workgroup = EXAMPLE
...
security = user
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
workgroup = EKSEMPEL
...
security = user
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:118(programlisting) serverguide/C/samba.xml:315(programlisting) serverguide/C/samba.xml:780(programlisting) serverguide/C/samba.xml:1018(programlisting)
|
|
1481.
|
|
|
The <emphasis>security</emphasis> parameter is farther down in the [global] section, and is commented by default. Also, change <emphasis>EXAMPLE</emphasis> to better match your environment.
|
|
|
|
<emphasis>security</emphasis>-innstillingen er lenger nede under [global]-seksjonen, og er omgjort til kommentar som standard. I tillegg bør du endre <emphasis>EKSEMPEL</emphasis> til noe som passer bedre.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:124(para)
|
|
1482.
|
|
|
Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
|
|
|
|
Opprett en ny seksjon på slutten av filen eller avkommenter et av eksemplene for mappen som skal deles:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:132(para)
|
|
1483.
|
|
|
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:136(programlisting)
|
|
1484.
|
|
|
<emphasis>comment:</emphasis> a short description of the share. Adjust to fit your needs.
|
|
|
|
<emphasis>comment:</emphasis> en kort kommentar som forklarer delingen. Tilpass etter behov.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:148(para)
|
|
1485.
|
|
|
<emphasis>path:</emphasis> the path to the directory to share.
|
|
|
|
<emphasis>path:</emphasis> banen til mappen som skal deles.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/samba.xml:153(para)
|
|
1486.
|
|
|
This example uses <filename>/srv/samba/sharename</filename> because, according to the <emphasis>Filesystem Hierarchy Standard (FHS)</emphasis>, <ulink url="http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM">/srv</ulink> is where site-specific data should be served. Technically Samba shares can be placed anywhere on the filesystem as long as the permissions are correct, but adhering to standards is recommended.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:156(para)
|
|
1487.
|
|
|
<emphasis>browsable:</emphasis> enables Windows clients to browse the shared directory using <application>Windows Explorer</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:165(para)
|
|
1488.
|
|
|
<emphasis>guest ok:</emphasis> allows clients to connect to the share without supplying a password.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/samba.xml:171(para)
|