Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update samba-4.8.6-r4 to 4.11.6-r2 - error -95
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 730

PostPosted: Sat Feb 29, 2020 2:15 pm    Post subject: update samba-4.8.6-r4 to 4.11.6-r2 - error -95 Reply with quote

i use a long time samba 4.8.6-r4, all was fine.
i can mount a share with
mount -t cifs //192.168.182.1/share123$ /mnt/share123/ -o username=user,password=pass

with the update to samba 4.11.6-r2 if i try than to mount the same share with the same command, i see only
Code:
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


and at syslog:
Code:
CIFS VFS: cifs_mount failed w/return code = -95


if i try:
mount -t cifs //192.168.182.1/share123$ /mnt/share123/ -o username=user,password=pass,vers=3.0
the share can be mounted, but root is the owner, before the update it was a normal user they can write into this share



:edit
i install version samba-4.8.6-r4 again
i do at the client mount the share
i see with mount that the share was mountet by default with ...vers=1.0
do i need any specialthings for mounting shares from a samba-4.11.6-r server?
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1791

PostPosted: Sat Feb 29, 2020 4:45 pm    Post subject: Reply with quote

This wiki, mentions about setting the UID of the share, which is most likely what you want.

https://wiki.archlinux.org/index.php/Samba#Manual_mounting

Otherwise, earlier in that wiki, it also instructed on how to force ownership/group on the server side (assuming you have access to the server's configs).

From Arch's wiki:
Quote:
Warning: By default, Samba versions prior to 4.11 allow connections using the outdated and insecure SMB1 protocol. When using one these Samba versions, it is highly recommended to set server min protocol = SMB2_02 to protect yourself from ransomware attacks. In Samba 4.11 and newer, SMB2 is the default min protocol, so no changes are required there.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum