Skip to content

Commit

Permalink
ENUMERATION: enable support for 'proxy' provider
Browse files Browse the repository at this point in the history
even when built without '--with-extended-enumeration-support'

Reviewed-by: Dan Lavu <[email protected]>
Reviewed-by: Sumit Bose <[email protected]>
  • Loading branch information
alexey-tikhonov committed Jun 20, 2024
1 parent bb72b53 commit 58da100
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/confdb/confdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,9 @@ static errno_t confdb_init_domain_provider_and_enum(struct sss_domain_info *doma
const char *tmp, *tmp_pam_target, *tmp_auth;

#ifndef BUILD_EXTENDED_ENUMERATION_SUPPORT
if (domain->provider != NULL && strcasecmp(domain->provider, "ldap") == 0) {
if (domain->provider != NULL &&
((strcasecmp(domain->provider, "ldap") == 0)
|| (strcasecmp(domain->provider, "proxy") == 0)) ) {
#endif
/* TEMP: test if the old bitfield conf value is used and warn it has been
* superseded. */
Expand Down
8 changes: 7 additions & 1 deletion src/man/sssd.conf.5.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2682,7 +2682,7 @@ pam_gssapi_indicators_map = sudo:pkinit, sudo-i:pkinit
</para>
<para condition="without_ext_enumeration">
Feature is only supported for domains with
id_provider = ldap.
id_provider = ldap or id_provider = proxy.
</para>
<para>
Note: Enabling enumeration has a severe
Expand Down Expand Up @@ -2717,6 +2717,12 @@ pam_gssapi_indicators_map = sudo:pkinit, sudo-i:pkinit
is not recommended, especially in large
environments.
</para>
<para>
Note: the proxy provider is tested with open source
modules like 'libnss_files' and 'libnss_ldap'.
3rd party modules must follow the documented
behavior of nss modules to be used in this configuration.
</para>
</listitem>
</varlistentry>

Expand Down

0 comments on commit 58da100

Please sign in to comment.