Skip to content

Commit

Permalink
samba.sh fix #268
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed Mar 24, 2020
1 parent 9a8de2e commit 2016e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
# none)
# Return: result
smb() { local file=/etc/samba/smb.conf
sed -i '/min protocol/d' $file
sed -i 's/\([^#]*min protocol *=\).*/\1 LANMAN1/' $file
}

### user: add a user
Expand Down

0 comments on commit 2016e13

Please sign in to comment.