Skip to content

Instantly share code, notes, and snippets.

@csamsel
Created July 17, 2018 21:06
Show Gist options
  • Save csamsel/683b21035e27f51f4072d68edaf1e296 to your computer and use it in GitHub Desktop.
Save csamsel/683b21035e27f51f4072d68edaf1e296 to your computer and use it in GitHub Desktop.
mount a samba share using plaintext passwords (because ldap)
echo '0x30' > /proc/fs/cifs/SecurityFlags
mount.cifs //111.111.111.111/share/ /mnt/tmp -o user=username,pass=password,vers=1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment