|
|
@ -70,7 +70,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
(define-configuration sssd-configuration
|
|
|
|
(define-configuration sssd-configuration
|
|
|
|
(sssd (file-like sssd) "sssd package to use")
|
|
|
|
(sssd (file-like sssd) "sssd package to use")
|
|
|
|
(pam-services (list-of-strings (list "su" "sddm" "login" "sshd" "passwd"))
|
|
|
|
(pam-services (list-of-strings (list "su" "sddm" "login" "sshd"
|
|
|
|
|
|
|
|
"passwd"))
|
|
|
|
"list of pam services to configure login for"
|
|
|
|
"list of pam services to configure login for"
|
|
|
|
(lambda (a b)
|
|
|
|
(lambda (a b)
|
|
|
|
""))
|
|
|
|
""))
|
|
|
@ -138,11 +139,8 @@
|
|
|
|
(user (getpw "root")))
|
|
|
|
(user (getpw "root")))
|
|
|
|
(mkdir-p/perms dbusdir user 493)
|
|
|
|
(mkdir-p/perms dbusdir user 493)
|
|
|
|
(mkdir-p/perms dbdir user 493)
|
|
|
|
(mkdir-p/perms dbdir user 493)
|
|
|
|
(unless (file-exists? "/var/lib/sss/sssd.conf")
|
|
|
|
(copy-file #$(sssd-configuration-file config) "/var/lib/sss/sssd.conf")
|
|
|
|
(begin
|
|
|
|
(chmod "/var/lib/sss/sssd.conf" #o600))))
|
|
|
|
(copy-file #$(sssd-configuration-file config)
|
|
|
|
|
|
|
|
"/var/lib/sss/sssd.conf")
|
|
|
|
|
|
|
|
(chmod "/var/lib/sss/sssd.conf" #o600))))))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public sssd-service-type
|
|
|
|
(define-public sssd-service-type
|
|
|
|
(service-type (name 'sssd)
|
|
|
|
(service-type (name 'sssd)
|
|
|
|