Blame SOURCES/0043-LDAP-Fix-typo-and-use-the-right-attribute-map.patch
|
|
2fc102 |
From 147af349a5642f85689cbfe68136f0e01706330e Mon Sep 17 00:00:00 2001
|
|
|
2fc102 |
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
2fc102 |
Date: Wed, 8 Jan 2014 08:11:46 +0100
|
|
|
2fc102 |
Subject: [PATCH 43/43] LDAP: Fix typo and use the right attribute map
|
|
|
2fc102 |
|
|
|
2fc102 |
https://fedorahosted.org/sssd/ticket/2191
|
|
|
2fc102 |
|
|
|
2fc102 |
There was a copy-n-paste bug in the code that resulted in using a wrong
|
|
|
2fc102 |
attribute map. This could lead to the primary name not being selected
|
|
|
2fc102 |
correctly.
|
|
|
2fc102 |
---
|
|
|
2fc102 |
src/providers/ldap/sdap.c | 2 +-
|
|
|
2fc102 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
2fc102 |
|
|
|
2fc102 |
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
|
|
|
2fc102 |
index 078326ad3614ed2cd41659ea279642a46a0e24e1..ddcf199b61311b69fde54c3ee25f2338ceb05576 100644
|
|
|
2fc102 |
--- a/src/providers/ldap/sdap.c
|
|
|
2fc102 |
+++ b/src/providers/ldap/sdap.c
|
|
|
2fc102 |
@@ -1246,7 +1246,7 @@ errno_t sdap_get_user_primary_name(TALLOC_CTX *memctx,
|
|
|
2fc102 |
const char **_user_name)
|
|
|
2fc102 |
{
|
|
|
2fc102 |
return sdap_get_primary_name(memctx,
|
|
|
2fc102 |
- opts->group_map[SDAP_AT_USER_NAME].name,
|
|
|
2fc102 |
+ opts->user_map[SDAP_AT_USER_NAME].name,
|
|
|
2fc102 |
attrs, dom, _user_name);
|
|
|
2fc102 |
}
|
|
|
2fc102 |
|
|
|
2fc102 |
--
|
|
|
2fc102 |
1.8.4.2
|