samba.sh fix #268
This commit is contained in:
parent
9a8de2e023
commit
2016e1369d
2
samba.sh
2
samba.sh
@ -128,7 +128,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
|
|||||||
# none)
|
# none)
|
||||||
# Return: result
|
# Return: result
|
||||||
smb() { local file=/etc/samba/smb.conf
|
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
|
### user: add a user
|
||||||
|
Loading…
Reference in New Issue
Block a user