Cannot connect to osmc share from windows 10, the user name or password is incorrect System error 1326

Nothing changes.

And in my case it was /etc/samba

Try
ls -lah /etc/samba/
sudo touch /etc/samba
ls -lah /etc/samba/
reboot
ls -lah /etc/samba

and compare/report the output of the 3 ls commands.

The first two results are below:

=========================

osmc@osmc:~$ ls -lah /etc/samba/
ls: cannot access ‘/etc/samba/’: No such file or directory
osmc@osmc:~$ sudo touch /etc/samba
osmc@osmc:~$ ls -lah /etc/samba/
ls: cannot access ‘/etc/samba/’: Not a directory

UPDATE:

I’m not allowed to post new replies, the system demands to wait 21 hours.

But here your log, @fzinken:

osmc@osmc:~$ sudo mkdir /etc/samba
mkdir: cannot create directory ‘/etc/samba’: File exists
osmc@osmc:~$ ls -lah /etc/samba/
ls: cannot access ‘/etc/samba/’: Not a directory
osmc@osmc:~$ sudo touch /etc/samba/smb.conf
touch: cannot touch ‘/etc/samba/smb.conf’: Not a directory

UPDATE 2

I’m still not allowed to post replies. But here we are:

osmc@osmc:~$ sudo rm /etc/samba
rm: cannot remove ‘/etc/samba’: No such file or directory
osmc@osmc:~$ sudo mkdir /etc/samba
osmc@osmc:~$ ls -lah /etc/samba/
total 8.0K
drwxr-xr-x 2 root root 4.0K May 13 04:09 .
drwxr-xr-x 77 root root 4.0K May 13 04:09 …
osmc@osmc:~$ sudo touch /etc/samba/smb.conf
osmc@osmc:~$ ls -lah /etc/samba/
total 8.0K
drwxr-xr-x 2 root root 4.0K May 13 04:09 .
drwxr-xr-x 77 root root 4.0K May 13 04:09 …
-rw-r–r-- 1 root root 0 May 13 04:09 smb.conf

Ok, so you even don’t have the directory.
Than let’s try this.

sudo rm /etc/samba
sudo mkdir /etc/samba
ls -lah /etc/samba/
sudo touch /etc/samba/smb.conf
ls -lah /etc/samba/
reboot
ls -lah /etc/samba/

Just changed your user level you should now be allowed to post again.

Please check my commands again, I had them corrected.

sudo rm /etc/samba
sudo mkdir /etc/samba
ls -lah /etc/samba/
sudo touch /etc/samba/smb.conf
ls -lah /etc/samba/
reboot
ls -lah /etc/samba/

Ok, would be interesting if the result after reboot is the same.
Also if you still can not post tomorrow sent me a PM

You may need to log out of the forum and log back in. You do have permission to post.

I’m starting to think that your SD card may be mounting in RO (read only) mode. What’s the output of:

mount

devtmpfs on /dev type devtmpfs (rw,relatime,size=376668k,nr_inodes=94167,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,relatime)
/dev/mmcblk0p2 on / type ext4 (rw,relatime,stripe=1024)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /boot type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/sda1 on /media/Dune type ext3 (rw,nosuid,nodev,relatime,uhelper=udisks)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=76356k,mode=700,uid=1000,gid=1000)

The mounts look OK, but just to be sure I’d like you to try this simple test (connected via SSH):

date > ~/date.test
cat ~/date.test

Then reboot, SSH back in and:

cat ~/date.test
1 Like