Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Disable SMBv1 in pam_mount.xml template #25

Open
zefanja opened this issue Jun 23, 2020 · 2 comments
Open

Disable SMBv1 in pam_mount.xml template #25

zefanja opened this issue Jun 23, 2020 · 2 comments

Comments

@zefanja
Copy link

zefanja commented Jun 23, 2020

The template for pam_mount sets the SMB version to 1.0.

    <volume user="*" fstype="cifs" server="@@servername@@.@@domainname@@" path="default-school" mountpoint="/srv/samba/schools/default-school" options="sec=ntlmssp,nodev,nosuid,mfsymlinks,nobrl,vers=1.0" />
    <volume user="*" fstype="cifs" server="@@servername@@.@@domainname@@" path="sysvol" mountpoint="/var/lib/samba/sysvol" options="sec=ntlmssp,nodev,nosuid,mfsymlinks,nobrl,vers=1.0" />

Is there a specific reason why this insecure protocol is enforced? Ubuntu 20.04 does not support SMBv1 anymore.

@PLanB2008
Copy link

This seemed to work on my system but I added a pull reuqest to change it to version 3.0. This also adds the ability to see ther current quota from a user perspective.

@jolly-jump
Copy link
Collaborator

Thanks again for the notice. I am pretty sure, this is not necessarily vers. 1.0.
I have merged the PR #29 . I will test on my machine, may be you could on yours as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants