Samba » Historique » Version 6
Patrice Nadeau, 2014-10-24 12:37
1 | 6 | Patrice Nadeau | h1. Samba |
---|---|---|---|
2 | 1 | Patrice Nadeau | |
3 | 6 | Patrice Nadeau | > *En cours de documentation, ne pas utiliser !* #27 |
4 | 2 | Patrice Nadeau | |
5 | --- |
||
6 | 1 | Patrice Nadeau | |
7 | 6 | Patrice Nadeau | {{toc}} |
8 | 1 | Patrice Nadeau | |
9 | 6 | Patrice Nadeau | h2. Installation |
10 | |||
11 | 2 | Patrice Nadeau | <pre><code class="bash"> |
12 | # Install |
||
13 | zypper install samba |
||
14 | # Start Samba |
||
15 | systemctl start smb nmb |
||
16 | 1 | Patrice Nadeau | # Autload |
17 | systemctl enable smb nmb |
||
18 | </code></pre> |
||
19 | 3 | Patrice Nadeau | |
20 | 6 | Patrice Nadeau | h2. Fichier de configuration |
21 | 3 | Patrice Nadeau | |
22 | * */etc/samba/smb.conf* |
||
23 | 4 | Patrice Nadeau | |
24 | 1 | Patrice Nadeau | Après un changement de configuration « reloader » (le service ne seras pas interrompu) la configuration avec |
25 | 4 | Patrice Nadeau | <pre><code class="bash"> |
26 | systemctl reload smb nmb |
||
27 | </code></pre> |
||
28 | 5 | Patrice Nadeau | |
29 | 6 | Patrice Nadeau | h2. Création d'usager |
30 | 5 | Patrice Nadeau | |
31 | <pre><code class="bash"> |
||
32 | # as root or with sudo |
||
33 | useradd username |
||
34 | smbpasswd -a username |
||
35 | </code></pre> |