Laufwerke und Verzeichnisse mit Samba freigeben
draksambashare
Einleitung
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.
Vorbereitung
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
, 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.
Wizard - Standalone server
At the first run, the tools
Sie können das Werkzeug über die Kommandozeile aufrufen, indem Sie draksambashare als root eingeben.
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.
Wählen Sie den Sicherheitsmodus
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.
Der Ort, an dem Samba die Log-/Protokollinformationen abspeichert, kann im
nächsten Schritt festgelegt werden.
Der Assistent zeigt vor dem bestätigen der Konfiguration eine Auflistung der
gewählten Parameter an. Bei der Bestätigung wird die Konfiguration
anschließend unter /etc/samba/smb.conf
geschrieben.
Wizard - Primary domain controller
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.
Ein Verzeichnis zur gemeinsamen Nutzung freigeben
Mit der Hinzufügen Schaltfläche erhalten wir:
A new entry is thus added. It can be modified with the
Modify 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.
Menüeinträge
Wenn die Liste mindestens ein Eintrag enthält können folgende Menüeinträge
verwendet werden.
Datei|Schreibe conf
Speichert die aktuelle Konfiguration in /etc/samba/smb.conf
.
Samba-Server|Konfigurieren
Der Assistent kann mit diesem Befehl erneut ausgeführt werden.
Samba-Server|Neu starten
Der Server wird gestoppt und mit den aktuellen Konfigurationsdateien neu
gestartet.
Samba-Server|Neu laden
Die angezeigte Konfiguration wird aus den aktuellen Konfigurationsdateien
neu geladen.
Druckerfreigabe
Samba ermöglicht Ihnen auch Drucker für die gemeinsame Nutzung freizugeben.
Samba-Benutzer
In diesem Reiter können Sie Nutzer hinzufügen, damit diese auf die
freigegebenen Ressourcen zugreifen können, wenn eine Autorisierung
erforderlich ist. Sie können die Nutzer dort hinzufügen