Skip to content

Commit

Permalink
Add domain option ldap_user_search_filter (#142)
Browse files Browse the repository at this point in the history
* add domain option ldap_user_search_filter

* Bump version & CHANGELOG

---------

Co-authored-by: Chris Tessmer <[email protected]>
  • Loading branch information
virus2500 and op-ct authored Dec 4, 2023
1 parent eea8ec0 commit 574d7cc
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Wed Nov 29 2023 Virus2500 <[email protected]> - 7.9.0
- add domain option ldap_user_search_filter

* Mon Oct 23 2023 Steven Pritchard <[email protected]> - 7.8.0
- [puppetsync] Add EL9 support

Expand Down
9 changes: 9 additions & 0 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1344,6 +1344,7 @@ The following parameters are available in the `sssd::domain` defined type:
* [`realmd_tags`](#-sssd--domain--realmd_tags)
* [`proxy_pam_target`](#-sssd--domain--proxy_pam_target)
* [`proxy_lib_name`](#-sssd--domain--proxy_lib_name)
* [`ldap_user_search_filter`](#-sssd--domain--ldap_user_search_filter)

##### <a name="-sssd--domain--name"></a>`name`

Expand Down Expand Up @@ -1690,6 +1691,14 @@ Data type: `Optional[String]`



Default value: `undef`

##### <a name="-sssd--domain--ldap_user_search_filter"></a>`ldap_user_search_filter`

Data type: `Optional[String]`



Default value: `undef`

### <a name="sssd--provider--ad"></a>`sssd::provider::ad`
Expand Down
4 changes: 3 additions & 1 deletion manifests/domain.pp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
# @param realmd_tags
# @param proxy_pam_target
# @param proxy_lib_name
# @param ldap_user_search_filter
#
# @author https://github.com/simp/pupmod-simp-sssd/graphs/contributors
#
Expand Down Expand Up @@ -110,7 +111,8 @@
Boolean $proxy_fast_alias = false,
Optional[String] $realmd_tags = undef,
Optional[String] $proxy_pam_target = undef,
Optional[String] $proxy_lib_name = undef
Optional[String] $proxy_lib_name = undef,
Optional[String] $ldap_user_search_filter = undef
) {

sssd::config::entry { "puppet_domain_${name}":
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-sssd",
"version": "7.8.0",
"version": "7.9.0",
"author": "SIMP Team",
"summary": "Manages SSSD",
"license": "Apache-2.0",
Expand Down
3 changes: 3 additions & 0 deletions templates/domain.erb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ proxy_fast_alias = <%= @proxy_fast_alias.to_s %>
<% if @realmd_tags -%>
realmd_tags = <%= @realmd_tags %>
<% end -%>
<% if @ldap_user_search_filter -%>
ldap_user_search_filter = <%= @ldap_user_search_filter %>
<% end -%>
<% if @proxy_pam_target %>
proxy_pam_target = <%= @proxy_pam_target %>
<% end -%>
Expand Down

0 comments on commit 574d7cc

Please sign in to comment.