Make security type configurable

svn path=/nixos/trunk/; revision=20667
This commit is contained in:
Michael Raskin 2010-03-16 17:17:37 +00:00
parent 11f8647d73
commit 6788d457dc

View File

@ -124,7 +124,7 @@ in
log file = /var/log/samba/log.%m log file = /var/log/samba/log.%m
log level = 10 log level = 10
max log size = 50000 max log size = 50000
security = user security = ${cfg.securityType}
client lanman auth = Yes client lanman auth = Yes
dns proxy = no dns proxy = no
@ -159,6 +159,12 @@ in
}; };
}; };
securityType = mkOption {
description = "Samba security type";
default = "user";
example = "share";
};
}; };
}; };