samba: Add support for configuring unix charset
This commit is contained in:
parent
de5f1955b4
commit
a9a4cee9c0
2 changed files with 4 additions and 1 deletions
|
@ -82,6 +82,8 @@ class samba::server::configs {
|
||||||
# full ad realm name.
|
# full ad realm name.
|
||||||
# $localconf:
|
# $localconf:
|
||||||
# Source of optional local configuration.
|
# Source of optional local configuration.
|
||||||
|
# $charset:
|
||||||
|
# Charset the unix machine Samba runs on uses. Defaults to iso-8859-1.
|
||||||
#
|
#
|
||||||
# === Global variables
|
# === Global variables
|
||||||
#
|
#
|
||||||
|
@ -105,6 +107,7 @@ class samba::server(
|
||||||
$auth="tdbsam",
|
$auth="tdbsam",
|
||||||
$workgroup="WORKGROUP",
|
$workgroup="WORKGROUP",
|
||||||
$description="Samba Server Version %v",
|
$description="Samba Server Version %v",
|
||||||
|
$charset="iso-8859-1",
|
||||||
$interfaces=undef,
|
$interfaces=undef,
|
||||||
$localconf=undef,
|
$localconf=undef,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -44,7 +44,7 @@ kerberos method = secrets and keytab
|
||||||
log file = /var/log/samba/%m.log
|
log file = /var/log/samba/%m.log
|
||||||
max log size = 131072
|
max log size = 131072
|
||||||
|
|
||||||
unix charset = iso-8859-1
|
unix charset = <%= @charset %>
|
||||||
unix extensions = no
|
unix extensions = no
|
||||||
wide links = no
|
wide links = no
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue