Bonjour,
Je suis sous debian 10, et voila mon problème mon app samba fonctionner bien jusqu'au reboot de ma machine et au reboot voila le problème.
Et voici mon fichier de configuration /etc/samba/smb.conf
Je suis sous debian 10, et voila mon problème mon app samba fonctionner bien jusqu'au reboot de ma machine et au reboot voila le problème.
Code:
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-06-19 12:59:55 CEST; 5min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 3159 (code=exited, status=1/FAILURE)
juin 19 12:59:55 NASAlex2 systemd[1]: Failed to start Samba SMB Daemon.
juin 19 13:05:03 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:03 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:03 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:22 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:22 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:22 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:29 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:29 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
juin 19 13:05:29 NASAlex2 systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
Et voici mon fichier de configuration /etc/samba/smb.conf
Code:
[global]
workgroup = WORKGROUP
server string = Samba Server %v
netbios name = NASAlex2
security = user
map to guest = bad user
dns proxy = no
hosts allow = 192.168.0.53
[public]
path = /
public = yes
writable = yes
comment = smb share
printable = no
guest ok = yes