Hey, thanks for the tips,
I was hoping to avoid that, since my Fritzbox 7490 should apparently have no problems with higher versions:
SMB-versions-supported-by-the-FRITZ-Box
It works under Windows, without enabling smb1 support and I also can mount the share allright with Nemo and gvfs-smb under:
/run/user/1000/gvfs/smb-share:server=fritz.box,share=jnternety.nas
Tried it nevertheless and reverted back, since it didn’t work anyway.
BTW, this is my smb.conf:
[global]
workgroup = WORKGROUP
dns proxy = no
log file = /var/log/samba/%m.log
max log size = 1000
client min protocol = SMB2
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
map to guest = Bad Password
usershare allow guests = yes
name resolve order = lmhosts bcast host wins
security = user
guest account = nobody
usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare owner only = yes
force create mode = 0070
force directory mode = 0070
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
What i was also trying is to just mount it with mount -t cifs
through cli, like this:
sudo mount -t cifs //fritz.box/jnternety.nas/Documents /home/yury/Jnternety -o credentials=/etc/samba/credentials/jnternety,rw
optionally even with these addtional options: uid=yury,gid=yury,file_mode=0777,dir_mode=0777,forceuid,forcegid
This is the same command executed by systemd mount.unit, right?
And I could again mount the share, even the ls -la
shows all the proper permissions, but i still can open any file, e.g.:
-
when opening a pdf with xed
** (xed:8457): WARNING **: 15:30:44.207: Hit unhandled case 0 (Error opening file /home/yury/Jnternety/PC1SoSe2021_Blatt10.pdf: Stale file handle) in parse_error.
-
when opening a png with pix
(pix:8507): GLib-GObject-WARNING **: 15:32:31.290: g_type_class_add_private() called multiple times for the same type