
In this screen you can choose between several tools for sharing drives and directories. Click on a link below to learn more.
Konfigurácia zdieľaných prostriedkov Windows(R)
“Share directories and drives with Samba” = Share drives and directories with Windows (SMB) systems
Konfigurovať NFS zdieľané prostriedky
Konfigurácia WebDAV zdieľaných prostriedkov
Tento nástroj [35] vám dovoľuje deklarovať, ktoré zdieľané adresáre budú sprístupniteľné pre všetkým používateľom na tomto stroji. Protokol použitý pre toto je SMB, ktorý bol spopularizovaný na systémoch Windows(R). Zdieľaný adresár bude dostupný priamo pri zavádzaní systému. Zdieľané adresáre môžu byť sprístupnené aj priamo v samostatnom sedení používateľom s nástrojmi ako sú súborové prehliadače.
Pred spustením nástroja je dobrá myšlienka zadeklarovať mená dostupných serverov, napríklad s pomocou “Definície hostiteľov”
Zvoľte pre získanie zoznamu serverov, ktoré zdieľajú adresáre.
Kliknite na meno servera a na > pred menom servera pre zobrazenie zoznamu zdieľaných adresárov a vyberte adresár, ktorý chcete sprístupniť.
Tlačidlo sa stane dostupné, máte zadať kam sa má pripojiť adresár.

Po zvolení prípojného bodu, môže byť pripojený s . Tiež môžete overiť a zmeniť niektoré možnosti s tlačidlom .
V možnostiach môžete uviesť meno používateľa a heslo tých, ktorí sa dokážu pripojiť ku SMB serveru. Po pripojení adresára, ho môžete odpojiť s tým istým tlačidlom.


Po schválení konfigurácie s tlačidlom Hotovo sa vás oznam opýta, či "Chcete uložiť súbor /etc/fstab modifications". Jeho uloženie vám umožní spraviť adresár dostupným pri každom štarte systému, pokiaľ je dostupná sieť. Nový adresár bude potom k dispozícii vo vašom prehliadači súborov, napríklad v Delfínovi.


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 “Centrum sietí”, 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 “Používatelia a skupiny”


.
Tento nástroj [37] vám dovoľuje zadeklarovať niektoré zdieľané adresáre, aby boli sprístupniteľné všetkým používateľom na stroji. Protokol použitý pre toto je NFS, ktorý je dostupný na väčšine Linuxových a Unixových systémov. Zdieľaný adresár bude teda dostupný priamo pri štarte systému. Zdieľané adresáre môžu byť tiež prístupné priamo v samostatnom sedení pre používateľa s nástrojmi akými sú prehliadače súborov.
Zvoľte pre získanie zoznamu serverov, ktoré zdieľajú adresáre.
Kliknite na symbol > pred názvom servera pre zobrazenie zoznamu zdieľaných adresárov a vyberte si adresár, ktorý chcete sprístupniť.

Tlačidlo bude k dispozícii a vy budete mať zadať, kam pripojiť onen adresár.

Po zvolení prípojného bodu, ho môžete pripojiť. Tiež môžete overiť a zmeniť niektoré možnosti s tlačidlom . Po pripojení adresára, ho môžete i odpojiť s rovnakým tlačidlom.


Po potvrdení konfigurácie s tlačidlom , bude zobrazený oznam pýtajúci sa, či "Chcete uložiť /etc/fstab modifications". Toto spraví adresár dostupný pri každom zavedení systému, pokiaľ je sieť dostupná. Nový adresár je potom dostupný vo vašom prehliadači súborov, napríklad v Delfínovi.


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.

Tento nástroj [39] sa nachádza v Ovládacom Centre Mageie, pod kartou Zdieľanie v sieti, označený Konfigurovať WebDAV zdieľania.
WebDAV je protokol, ktorý dovoľuje lokálne pripojiť adresár webového servera, takže sa zdá ako lokálny adresár. Je nevyhnutné, aby na vzdialenom stroji bežal WebDAV server. Zameraním tohto nástroja nie je konfigurovanie WebDAV servera.
Prvá obrazovka nástroja zobrazuje už nakonfigurované položky, pokiaľ nejaké sú a tlačidlo . Použite ho pre vytvorenie novej položky. Vložte URL servera do poľa na novej obrazovke.
Potom dostanete obrazovku s prepínacími gombíkmi pre výber niektorých akcií. Pokračujte s akciou kliknutím na po zvolení prepínacieho gombíka, ak je už nakonfigurovaný. Môžete ho však napraviť, ak je to potrebné.

Obsah vzdialeného adresára bude prístupný cez tento prípojný bod.
V ďalšom kroku zadajte vaše používateľské meno a heslo. Ak potrebujete nejaké ďalšie možnosti, môžete ich zadať na obrazovke.

Možnosť vám dovoľuje okamžite pripojiť prístupový bod.
Potom ako ste prijali konfiguráciu s prepínacím tlačidlom , zobrazí sa opäť prvá obrazovka a váš nový prípojný bod je zaznamenaný. Potom ako si zvolíte , budete opýtaní či uložiť alebo neuložiť zmeny do /etc/fstab. Vyberte si túto možnosť, ak chcete, aby vzdialený adresár bol dostupný pri každom štarte počítača. Ak vaša konfigurácia je len pre jednorazové použitie, neukladajte ju.
[35] Tento nástroj môžete spustiť z príkazového riadku, napísaním diskdrake --smb ako root.
[36] You can start this tool from the command line, by typing draksambashare as root.
[37] Tento nástroj môžete spustiť z príkazového riadka napísaním diskdrake --nfs ako root.
[38] You can start this tool from the command line, by typing draknfs as root.
[39] Tento nástroj môžete spustiť z príkazového riadka napísaním diskdrake --dav ako root.









