From 9646ae97c8945bd7d44994205b9c1a76ceee7c1e Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Mon, 5 Oct 2020 09:13:16 -0400 Subject: [PATCH] pam: Fix interaction with samba 9544c6078e12aacaf17abc9a13e740658b17e747 / #96672 removed the samba option `syncPasswordsByPam`. Need to remove this option from the pam module, otherwise it will cause build errors --- nixos/modules/security/pam.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 489f2a916f0f..4e1bec91ff32 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -877,8 +877,6 @@ in "mr ${pkgs.ecryptfs}/lib/security/pam_ecryptfs.so,"} ${optionalString (isEnabled (cfg: cfg.pamMount)) "mr ${pkgs.pam_mount}/lib/security/pam_mount.so,"} - ${optionalString config.services.samba.syncPasswordsByPam - "mr ${pkgs.samba}/lib/security/pam_smbpass.so,"} ${optionalString (isEnabled (cfg: cfg.enableGnomeKeyring)) "mr ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so,"} ${optionalString (isEnabled (cfg: cfg.startSession))