forked from mirrors/nixpkgs
Make security type configurable
svn path=/nixos/trunk/; revision=20667
This commit is contained in:
parent
11f8647d73
commit
6788d457dc
|
@ -124,7 +124,7 @@ in
|
|||
log file = /var/log/samba/log.%m
|
||||
log level = 10
|
||||
max log size = 50000
|
||||
security = user
|
||||
security = ${cfg.securityType}
|
||||
|
||||
client lanman auth = Yes
|
||||
dns proxy = no
|
||||
|
@ -159,6 +159,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
securityType = mkOption {
|
||||
description = "Samba security type";
|
||||
default = "user";
|
||||
example = "share";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue