diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-11-19 10:40:39 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-07-06 17:05:51 +0200 |
commit | 999d6066c7a96f102b692d31435d76114478e874 (patch) | |
tree | 501980eea5f120b3efdef8b5604689530ed26c3b /src/man/sssd-ldap.5.xml | |
parent | b6cd138f1e444d73295d3d3869de2dc4194f1742 (diff) | |
download | sssd-999d6066c7a96f102b692d31435d76114478e874.tar.gz sssd-999d6066c7a96f102b692d31435d76114478e874.tar.xz sssd-999d6066c7a96f102b692d31435d76114478e874.zip |
LDAP: Change the default rfc2307 autofs attribute mappings
Resolves:
https://fedorahosted.org/sssd/ticket/2858
The default attribute mappings we used to have:
ldap_autofs_map_object_class automountMap
ldap_autofs_map_name ou
ldap_autofs_entry_object_class automount
ldap_autofs_entry_key cn
ldap_autofs_entry_value automountInformation
Was wrong. Instead, this patch switches to:
ldap_autofs_map_object_class nisMap
ldap_autofs_map_name nisMapName
ldap_autofs_entry_object_class nisObject
ldap_autofs_entry_key cn
ldap_autofs_entry_value nisMapEntry
Which are attributes that are available with servers running the default
rfc2307 schema. In addition, this patch adds a syslog and DEBUG message
that warns administrators to double-check their configuration.
We don't warn when the autofs provider is set to AD, because that one
is already correct.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/man/sssd-ldap.5.xml')
-rw-r--r-- | src/man/sssd-ldap.5.xml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/man/sssd-ldap.5.xml b/src/man/sssd-ldap.5.xml index a30100408..ce2051d9d 100644 --- a/src/man/sssd-ldap.5.xml +++ b/src/man/sssd-ldap.5.xml @@ -2505,7 +2505,8 @@ ldap_access_filter = (employeeType=admin) The object class of an automount map entry in LDAP. </para> <para> - Default: automountMap + Default: nisMap (rfc2307, autofs_provider=ad), + otherwise automountMap </para> </listitem> </varlistentry> @@ -2518,8 +2519,8 @@ ldap_access_filter = (employeeType=admin) The name of an automount map entry in LDAP. </para> <para> - Default: ou (rfc2307), automountMapName - (rfc2307bis, ipa, ad) + Default: nisMapName (rfc2307, + autofs_provider=ad), otherwise automountMapName </para> </listitem> </varlistentry> @@ -2534,7 +2535,8 @@ ldap_access_filter = (employeeType=admin) point. </para> <para> - Default: automount + Default: nisObject (rfc2307, autofs_provider=ad), + otherwise automount </para> </listitem> </varlistentry> @@ -2548,8 +2550,8 @@ ldap_access_filter = (employeeType=admin) entry usually corresponds to a mount point. </para> <para> - Default: cn (rfc2307), automountKey (rfc2307bis, - ipa, ad) + Default: cn (rfc2307, autofs_provider=ad), + otherwise automountKey </para> </listitem> </varlistentry> @@ -2563,7 +2565,8 @@ ldap_access_filter = (employeeType=admin) entry usually corresponds to a mount point. </para> <para> - Default: automountInformation + Default: nisMapEntry (rfc2307, + autofs_provider=ad), otherwise automountInformation </para> </listitem> </varlistentry> |