but if I open the folder in Windows Explorer, I can rename the files, but I canβt rewrite the contents.
I try to map the server as network drive with option to connect with different credentials. User is openhabian, password is the one I set up on sudo smbpasswd openhabian
If I enter the password for openhabian/samba (they are same), I get the Network Error message:
some info from command line:
openhabian@openHABianDevice:~ $ smbd --version
Version 4.9.5-Debian
openhabian@openHABianDevice:~ $ systemctl status smbd.service
β smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-02-02 00:05:02 CET; 1 weeks 2 days ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 17622 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 1174 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 4915)
CGroup: /system.slice/smbd.service
ββ1174 /usr/sbin/smbd --foreground --no-process-group
ββ1234 /usr/sbin/smbd --foreground --no-process-group
ββ1235 /usr/sbin/smbd --foreground --no-process-group
ββ1240 /usr/sbin/smbd --foreground --no-process-group
feb 11 12:21:39 openHABianDevice systemd[1]: Reloading Samba SMB Daemon.
feb 11 12:21:39 openHABianDevice systemd[1]: smbd.service: Can't open PID file /run/smbd.pid (yet?) after reload: No such fil
feb 11 12:21:39 openHABianDevice systemd[1]: Reloaded Samba SMB Daemon.
feb 11 12:22:17 openHABianDevice smbd[16426]: pam_unix(samba:session): session closed for user openhabian
feb 11 12:22:56 openHABianDevice systemd[1]: Reloading Samba SMB Daemon.
feb 11 12:22:56 openHABianDevice systemd[1]: smbd.service: Can't open PID file /run/smbd.pid (yet?) after reload: No such fil
feb 11 12:22:56 openHABianDevice systemd[1]: Reloaded Samba SMB Daemon.
feb 11 12:25:42 openHABianDevice systemd[1]: Reloading Samba SMB Daemon.
feb 11 12:25:42 openHABianDevice systemd[1]: smbd.service: Can't open PID file /run/smbd.pid (yet?) after reload: No such fil
feb 11 12:25:42 openHABianDevice systemd[1]: Reloaded Samba SMB Daemon.
Where should I start? it looks that samba has something not configured properly?
Thanks,
first one does not work, I have stucked on
openhabian@openHABianDevice:~ $ systemctl stop openhab zram-config.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to stop 'openhab.service'.
Authenticating as: ,,, (openhabian)
Password:
==== AUTHENTICATION COMPLETE ===
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to stop 'zram-config.service'.
Authenticating as: ,,, (openhabian)
Password:
==== AUTHENTICATION COMPLETE ===
No command line prompt appeared after, so I have pressed Ctrl-C and continued.
EDIT: Waited, command prompt appeared, repeated the steps, but with the same result.
Someone an idea where to start?
EDIT:
The problem was, I was trying to connect \\192.168.1.32\ instead of \\192.168.1.32\openHAB-conf. Probably the reinstall process and this has helped me to be able to rewrite the files.