ldap: Fix ldap group members on Fedora nslcd.
This commit is contained in:
parent
1bf1dd18be
commit
15a3e81a82
1 changed files with 8 additions and 0 deletions
|
@ -47,6 +47,14 @@ class ldap::auth inherits ldap::client {
|
||||||
lens => "Spacevars.simple_lns",
|
lens => "Spacevars.simple_lns",
|
||||||
notify => Service["nslcd"],
|
notify => Service["nslcd"],
|
||||||
}
|
}
|
||||||
|
if $::operatingsystem == "Fedora" {
|
||||||
|
augeas { "nslcd-conf-groupmap":
|
||||||
|
changes => "set map 'group member uniqueMember'",
|
||||||
|
incl => "/etc/nslcd.conf",
|
||||||
|
lens => "Spacevars.simple_lns",
|
||||||
|
notify => Service["nslcd"],
|
||||||
|
}
|
||||||
|
}
|
||||||
augeas { "pam-ldap-conf":
|
augeas { "pam-ldap-conf":
|
||||||
changes => [ "set ssl on",
|
changes => [ "set ssl on",
|
||||||
"set pam_password exop",
|
"set pam_password exop",
|
||||||
|
|
Loading…
Add table
Reference in a new issue