I have a working 32-bit OpenHAB 4.1.2 setup on Pi 3B+ and I can access its samba shares from windows 10 PC without issues. Typing \\192.168.1.151\
in windows explorer gives me read and write access to all the folders without loging in. Testing from different windows machine yields the same result (full access), so it’s not a case of stored password.
I’m trying to move everything to Pi 5 with 64-bit OpenHAB 4.2.1 installed. Samba installed through openhabian-config. Typing \\192.168.1.158\
in explorer shows me the 4 openHAB-* folders, but when I try to open any, I get a credentials prompt.
Both devices are cable connected to the same LAN.
Both have static IPs and are pingable from Windows machine.
Both use default settings in smb.conf, the smb.conf file has the same size and looks the same
There are no firewalls rules specific to any of those devices.
Pi 5 logs:
systemctl status smbd
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; preset: enabled)
Active: active (running) since Wed 2024-09-11 14:42:10 CEST; 2h 49min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 8861 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 9566)
CPU: 6.255s
CGroup: /system.slice/smbd.service
├─ 8861 /usr/sbin/smbd --foreground --no-process-group
├─ 8881 /usr/sbin/smbd --foreground --no-process-group
├─ 8882 /usr/sbin/smbd --foreground --no-process-group
└─20105 /usr/sbin/smbd --foreground --no-process-group
Sep 11 14:42:10 openhabian systemd[1]: Starting smbd.service - Samba SMB Daemon...
Sep 11 14:42:10 openhabian systemd[1]: Started smbd.service - Samba SMB Daemon.
Sep 11 17:22:43 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
Sep 11 17:24:15 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
Sep 11 17:25:48 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
Sep 11 17:27:04 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
Sep 11 17:29:23 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
Sep 11 17:30:04 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
Sep 11 17:30:15 openhabian smbd[20105]: pam_unix(samba:session): session closed for user nobody
openhab-cli info
Version: 4.2.1 (Build)
User: openhab (Active Process 8716)
User Groups: openhab tty dialout audio bluetooth gpio
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab | openhab:openhab
OPENHAB_CONF | /etc/openhab | openhab:openhab
OPENHAB_LOGDIR | /var/log/openhab | openhab:openhabian
OPENHAB_BACKUPS | /var/lib/openhab/backups | openhabian:openhab
URLs: http://192.168.1.158:8080
https://192.168.1.158:8443
What am I missing?