diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-08-30 14:28:11 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2020-08-30 14:29:13 +0300 |
commit | 8cd4d59a329c147a832b5aabd1484d2f31a1621e (patch) | |
tree | 2b2c5ab724884dc8342e42121b0f216d4c2537a5 /nixos/modules/services/network-filesystems | |
parent | 5d8dd5c2598a74761411bc9bef7c9111d43d2429 (diff) | |
download | nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.tar nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.tar.gz nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.tar.bz2 nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.tar.lz nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.tar.xz nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.tar.zst nixpkgs-8cd4d59a329c147a832b5aabd1484d2f31a1621e.zip |
nixos/samba: remove upstream deprecated syncPasswordsByPam option
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r-- | nixos/modules/services/network-filesystems/samba.nix | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix index 08c912e0fcd..ac71342a2f0 100644 --- a/nixos/modules/services/network-filesystems/samba.nix +++ b/nixos/modules/services/network-filesystems/samba.nix @@ -26,7 +26,6 @@ let [global] security = ${cfg.securityType} passwd program = /run/wrappers/bin/passwd %u - pam password change = ${smbToString cfg.syncPasswordsByPam} invalid users = ${smbToString cfg.invalidUsers} ${cfg.extraConfig} @@ -67,6 +66,7 @@ in { imports = [ (mkRemovedOptionModule [ "services" "samba" "defaultShare" ] "") + (mkRemovedOptionModule [ "services" "samba" "syncPasswordsByPam" ] "This option has been removed by upstream, see https://bugzilla.samba.org/show_bug.cgi?id=10669#c10") ]; ###### interface @@ -124,18 +124,6 @@ in ''; }; - syncPasswordsByPam = mkOption { - type = types.bool; - default = false; - description = '' - Enabling this will add a line directly after pam_unix.so. - Whenever a password is changed the samba password will be updated as well. - However, you still have to add the samba password once, using smbpasswd -a user. - If you don't want to maintain an extra password database, you still can send plain text - passwords which is not secure. - ''; - }; - invalidUsers = mkOption { type = types.listOf types.str; default = [ "root" ]; |