
In this screen you can choose between several tools for sharing drives and directories. Click on a link below to learn more.
Aseta Windows-jaot
”Share directories and drives with Samba” = Share drives and directories with Windows (SMB) systems
Aseta WebDAV-jaot
[35]Tämän työkalun avulla voit määrittää, mitkä jaetut hakemistot ovat kaikkien koneen käyttäjien käytettävissä. Tähän käytetty protokolla on SMB, joka on suosittu Windows(R)-järjestelmissä. Jaettu hakemisto on käytettävissä suoraan käynnistyksen yhteydessä. Käyttäjä voi myös käyttää jaettuja hakemistoja suoraan yhdessä istunnossa työkaluilla, kuten tiedostoselaimilla.
Ennen työkalun käynnistämistä on hyvä idea ilmoittaa käytettävissä olevien palvelimien nimet, esimerkiksi”Verkkonimien nimimääritykset”
Valitse hakupalvelimet saadaksesi luettelon palvelimista, jotka jakavat hakemistoja.
Napsauta palvelimen nimeä ja > ennen palvelimen nimeä näyttääksesi luettelon jaetuista hakemistoista ja valitsemalla hakemiston, jota haluat käyttää.
Liitäntäpiste-painike tulee saataville, sinun on määritettävä, mihin hakemisto liitetään.

Kiinnityskohdan valinnan jälkeen se voidaan asentaa kiinnityspainikkeella. Voit myös tarkistaa ja muuttaa joitain vaihtoehtoja Asetukset-painikkeella.
Asetuksissa voit määrittää SMB-palvelimeen yhteyden muodostavien henkilöiden käyttäjänimen ja salasanan. Kun olet asentanut hakemiston, voit purkaa sen samalla painikkeella.


Kun asetukset hyväksytään Valmis-painikkeella, viesti kysyy "Haluatko tallentaa /etc/fstab muutokset". Tallentaminen sallii hakemiston asettamisen saataville jokaisen käynnistyksen yhteydessä, mikäli verkko on käytettävissä. Uusi hakemisto on saatavilla mm. Dolphin tiedostojen hallinnalla.


Samba is a protocol used in different Operating Systems to share some resources like directories or printers. This tool allows you to configure the machine as a Samba server using the protocol SMB/CIFS. This protocol is also used by Windows(R) and workstations with this OS can access the resources of the Samba server.
To be accessed from other workstations, the server has to have a fixed IP address. This can be specified directly on the server, for example with ”Verkkokeskus”, or at the DHCP server which identifies the station with its MAC-address and give it always the same address. The firewall has also to allow the incoming requests to the Samba server.
At the first run, the tools [36] checks if needed packages are installed and proposes to install them if they are not yet present. Then the wizard to configure the Samba server is launched.

In the next window the Standalone server configuration option is already selected.

Then specify the name of the workgroup. This name should be the same for the access to the shared resources.
The netbios name is the name which will be used to designate the server on the network.

Choose the security mode:
user: the client must be authorized to access the resource
share: the client authenticates itself separately for each share
You can specify which hosts are allowed to access the resources, with IP address or host name.

Specify the server banner. The banner is the way this server will be described in the Windows workstations.

The place where Samba can log information can be specified at the next step.

The wizard displays a list of the chosen parameters before you accept the
configuration. When accepted, the configuration will be written in
/etc/samba/smb.conf.


If the "Primary domain controller" option is selected, the wizard asks for indication if Wins is to support or not and to provide admin users names. The following steps are then the same as for standalone server, except you can choose also the security mode:
domain: provides a mechanism for storing all user and group accounts in a central, shared, account repository. The centralized account repository is shared between (security) controllers.
With the button, we get:

A new entry is thus added. It can be modified with the button. Options can be edited, such as whether the directory is visible to the public, writable or browseable. The share name can not be modified.

When the list has at least one entry, menu entries can be used.
File|Write conf. Save the current configuration in /etc/samba/smb.conf.
Samba server|Configure. The wizard can be run again with this command.
Samba server|Restart. The server is stopped and restarted with the current configuration files.
Samba Server|Reload. The configuration displayed is reloaded from the current configuration files.
In this tab, you can add users who are allowed to access the shared resources when authentication is required. You can add users from ”Käyttäjät ja ryhmät”


.
Tämän työkalun[37] avulla voit määrittää, että jotkin jaetut hakemistot ovat kaikkien koneen käyttäjien käytettävissä. Tähän käytetty protokolla on NFS, joka on saatavilla useimmissa Linux- tai Unix-järjestelmissä. Jaettu hakemisto on siten käytettävissä suoraan käynnistyksen yhteydessä. Jaetut hakemistot voivat olla myös suoraan käyttäjän käytettävissä yhdessä istunnossa työkaluilla, kuten tiedostoselaimilla.
Valitse hakupalvelimet saadaksesi luettelon palvelimista, jotka jakavat hakemistoja.
Napsauta >-symbolia palvelimen nimen edessä näyttääksesi luettelon jaetuista hakemistoista ja valitse hakemisto, jota haluat käyttää.

Painike Liitospiste on käytettävissä ja sinun on määritettävä, mihin hakemisto liitetään.

Kun olet valinnut liitospisteen, voit liittää sen. Voit myös tarkistaa ja muuttaa joitain vaihtoehtoja Asetukset-painikkeella. Kun olet liittänyt hakemiston, voit irroittaa sen samalla painikkeella.


Kun asetukset hyväksytään Valmis-painikkeella, näyttöön tulee viesti, jossa kysytään "Haluatko tallentaa /etc/fstab-muutokset". Tämä asettaa hakemiston saataville jokaisen käynnistyksen yhteydessä, jos verkko on käytettävissä. Uusi hakemisto on sitten saatavilla tiedostoselaimessasi, esimerkiksi Dolphinissa.


When the wizard[38] is launched for the first time, it may display the following message:
The package nfs-utils needs to be installed. Do you want to install it?
After completing the installation, a window with an empty list is displayed.
A list of directories which are shared is displayed. At this step, the list is empty. The button gives access to a configuration tool.
The configuration tool is labeled "Modify entry". It may be also launched with the button. The following parameters are available.

Here you can specify which directory is to be shared. The button gives access to a browser to choose it.
Here you can specify the hosts that are authorized to access the shared directory.
NFS clients may be specified in a number of ways:
single host: a host either by an abbreviated name recognized be the resolver, fully qualified domain name, or an IP address
netgroups: NIS netgroups may be given as @group.
wildcards: machine names may contain the wildcard characters * and ?. For instance: *.cs.foo.edu matches all hosts in the domain cs.foo.edu.
IP networks: you can also export directories to all hosts on an IP (sub-)network simultaneously. For example, either `/255.255.252.0' or `/22' appended to the network base address.
map root user as anonymous: maps requests from uid/gid 0 to the anonymous uid/gid (root_squash). The root user from the client cannot read or write to the files on the server which are created by root on the server itself.
allow real remote root access: turn off root squashing. This option is mainly useful for diskless clients (no_root_squash).
map all users to anonymous user: maps all uids and gids to the anonymous user (all_squash). Useful for NFS-exported public FTP directories, news spool directories, etc. The opposite option is no user UID mapping (no_all_squash), which is the default setting.
anonuid and anongid: explicitly set the uid and gid of the anonymous account.
Secured Connection: this option requires that requests originate on an internet port less than IPPORT_RESERVED (1024). This option is on by default.
Read-Only share: allow either only read or both read and write requests on this NFS volume. The default is to disallow any request which changes the filesystem. This can also be made explicit by using this option.
Synchronous access: prevents the NFS server from violating the NFS protocol and to reply to requests before any changes made by these requests have been committed to stable storage (e.g. disc drive).
Subtree checking: enable subtree checking which can help improve security in some cases, but can decrease reliability. See exports(5) man page for more details.

Työkalu löytyy [39]Mageia Control Centerin Network Sharing välilehdestä, jonka otsikko on Configure WebDAV shares.
WebDAV on protokolla, jonka avulla verkkosivun palvelimen hakemisto voidaan asentaa paikallisesti niin, että se näkyy paikallisena hakemistona. Välttämätöntä, että etäkone käyttää WebDAV-palvelinta. Tämän työkalun tarkoitus ei ole määrittää WebDAV-palvelinta.
Ensimmäisessä ruudussa näkyvät jo määritetyt kohdat, jos sellaisia on ja painike. Käytä sitä uuden kohdan luomiseen. Lisää palvelimen URL-osoite uuden ruudun kenttään.
Sitten saat ruudun radiopainikkeilla, joiden avulla voit valita joitain toimintoja. Jatka toiminnolla ja paina valinnan jälkeen, koska on jo määritetty. Voit kuitenkin korjata sitä tarvittaessa.

Etähakemiston sisältö on käytettävissä tämän liitospisteen kautta.
Anna seuraavassa vaiheessa käyttäjätunnus ja salasana. Jos tarvitset muita vaihtoehtoja, voit antaa ne näytössä.

Valinnan avulla voit asettaa pääsyn välittömästi.
Kun olet hyväksynyt asetukset Hyväksy-valintanapilla, ensimmäinen näyttö tulee uudelleen näkyviin ja uusi kiinnityspisteesi näkyy luettelossa. Kun olet valinnut , sinulta kysytään, tallennetaanko muutokset kansioon /etc/fstab. Valitse tämä vaihtoehto, jos haluat, että etähakemisto on käytettävissä jokaisen käynnistyksen yhteydessä. Jos kokoonpanosi on kertakäyttöinen, älä tallenna sitä.
[35] Voit käynnistää tämän työkalun komentoriviltä kirjoittamalla pääkäyttäjänä diskdrake --smb.
[36] You can start this tool from the command line, by typing draksambashare as root.
[37] Voit käynnistää tämän työkalun komentoriviltä kirjoittamalla pääkäyttäjänä diskdrake --nfs.
[38] You can start this tool from the command line, by typing draknfs as root.
[39] Voit käynnistää tämän root käyttäjänä komentorivillä diskdrake --dav.









