dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0021-MAN-Give-information-regarding-priority-of-ldap-look.patch

cdf651
From 7689f3c8b4661c16a019c4410b1557f6ae4229aa Mon Sep 17 00:00:00 2001
cdf651
From: amitkumar50 <amitkuma@redhat.com>
cdf651
Date: Fri, 15 Jun 2018 10:45:38 +0530
cdf651
Subject: [PATCH] MAN: Give information regarding priority of ldap lookup
cdf651
MIME-Version: 1.0
cdf651
Content-Type: text/plain; charset=UTF-8
cdf651
Content-Transfer-Encoding: 8bit
cdf651
cdf651
This PR provides information about priority of lookup
cdf651
similar to as provided by function select_principal_from_keytab().
cdf651
cdf651
Resolves: https://pagure.io/SSSD/sssd/issue/3475
cdf651
cdf651
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
cdf651
(cherry picked from commit c5ef56b4f9ffb361742edae36b261a4ffd0e75ae)
cdf651
cdf651
DOWNSTREAM:
cdf651
Resolves: rhbz#1450778 - Full information regarding priority of lookup of principal in keytab not in man page
cdf651
---
cdf651
 src/man/sssd-ldap.5.xml | 13 ++++++++++++-
cdf651
 1 file changed, 12 insertions(+), 1 deletion(-)
cdf651
cdf651
diff --git a/src/man/sssd-ldap.5.xml b/src/man/sssd-ldap.5.xml
cdf651
index f7617670c8b0fe1a5922c1a811b94e25bacecbfe..3145f0730341bf40159277ef2ae23be601154a89 100644
cdf651
--- a/src/man/sssd-ldap.5.xml
cdf651
+++ b/src/man/sssd-ldap.5.xml
cdf651
@@ -1778,7 +1778,18 @@
cdf651
                             principal used for authentication to the directory.
cdf651
                             This option can either contain the full principal (for
cdf651
                             example host/myhost@EXAMPLE.COM) or just the principal name
cdf651
-                            (for example host/myhost).
cdf651
+                            (for example host/myhost). By default, the value is not set
cdf651
+                            and the following principals are used:
cdf651
+                            <programlisting>
cdf651
+hostname@REALM
cdf651
+netbiosname$@REALM
cdf651
+host/hostname@REALM
cdf651
+*$@REALM
cdf651
+host/*@REALM
cdf651
+host/*
cdf651
+                            </programlisting>
cdf651
+                            If none of them are found, the first principal in keytab is
cdf651
+                            returned.
cdf651
                         </para>
cdf651
                         <para>
cdf651
                             Default: host/hostname@REALM
cdf651
-- 
cdf651
2.17.1
cdf651