$ samba /usr/lib/systemd/system/nmbd.service
[2016/12/07 20:15:15.672847, 0] ../lib/util/debug.c:951(reopen_logs_internal)
Unable to open new log file '/var/log/samba/%m.log': Permission denied
[2016/12/07 20:15:15.672990, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
$ samba /usr/lib/systemd/system/samba.service
[2016/12/07 20:15:29.306531, 0] ../lib/util/debug.c:951(reopen_logs_internal)
Unable to open new log file '/var/log/samba/%m.log': Permission denied
[2016/12/07 20:15:29.306704, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
$ samba /usr/lib/systemd/system/smbd.service
[2016/12/07 20:15:58.324037, 0] ../lib/util/debug.c:951(reopen_logs_internal)
Unable to open new log file '/var/log/samba/%m.log': Permission denied
[2016/12/07 20:15:58.324192, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
$ samba /usr/lib/systemd/system/smbd@.service
[2016/12/07 20:16:31.746586, 0] ../lib/util/debug.c:951(reopen_logs_internal)
Unable to open new log file '/var/log/samba/%m.log': Permission denied
[2016/12/07 20:16:31.746755, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
$ samba /usr/lib/systemd/system/winbindd.service
[2016/12/07 20:16:55.883393, 0] ../lib/util/debug.c:951(reopen_logs_internal)
Unable to open new log file '/var/log/samba/%m.log': Permission denied
[2016/12/07 20:16:55.883593, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.5.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
... Euh, c'est quoi ces commandes que tu exécutes qui n'ont aucun sens ?!!!!! Qu'est ce que tu essayes de faire ? Pourquoi tu me redonnes la sortie de ma propre commande ? Ce n'étais pas une question mais une réponse à ton "problème"
Le service ne s’appelle pas comme cela ! Je t'ai donné les noms des services de samba... Tu as fais une faute de frappe (inversé 2 caractères)
C'est simple, ça veut dire que je suis complètement à côté de la plaque et que je n'ai rien compris du tout
Effectivement, j'avais inversé deux lettres. Portant j'ai lu et relu sans m'en rendre compte. En remettant tout dans le bon ordre, ça marche évidemment!
Désolé
KDE Plasma sur
- fixe Intel Core i5-4570 CPU @ 3.20GHz × 4 - RAM 12 Go - Carte graphique GeForce GTX 750 Ti NV117 - Écran 24" et 23" hdmi
- Lenovo IdeaPad 3 15ALC6 - 15.6" - Ryzen 5 5500U - 16 Go RAM - 128 Go SSD + 1 To HDD
- Lenovo Ideapad S130-14IGM