Configuration file for the Samba suite in ini format. This file is located in /etc/samba/smb.conf
Refer to https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html for all available options.
Declarations
Type
open submodule of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them)Default
{
global = {
"invalid users" = [
"root"
];
"passwd program" = "/run/wrappers/bin/passwd %u";
security = "user";
};
}Example
{
global = {
"invalid users" = [
"root"
];
"passwd program" = "/run/wrappers/bin/passwd %u";
security = "user";
};
public = {
browseable = "yes";
comment = "Public samba share.";
"guest ok" = "yes";
path = "/srv/public";
"read only" = "yes";
};
}