|
|
b2d430 |
From ac8bc2cbea5081f1f0a9395fbaf76616fe5b6fb9 Mon Sep 17 00:00:00 2001
|
|
|
b2d430 |
From: Sumit Bose <sbose@redhat.com>
|
|
|
b2d430 |
Date: Mon, 20 Jun 2016 13:37:56 +0200
|
|
|
b2d430 |
Subject: [PATCH 54/62] NSS: add user email to fill_orig()
|
|
|
b2d430 |
|
|
|
b2d430 |
The IPA server must send the email address of a user to the clients to
|
|
|
b2d430 |
allow login by email.
|
|
|
b2d430 |
|
|
|
b2d430 |
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
b2d430 |
(cherry picked from commit 91767924bdf9b5a28e8902206a40348d6c83a139)
|
|
|
b2d430 |
---
|
|
|
b2d430 |
src/db/sysdb.h | 1 +
|
|
|
b2d430 |
src/responder/nss/nsssrv_cmd.c | 2 ++
|
|
|
b2d430 |
2 files changed, 3 insertions(+)
|
|
|
b2d430 |
|
|
|
b2d430 |
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
|
|
|
b2d430 |
index c2f58ccb97c37d93391e72ee2d77835283a6c12f..8713efa6e8fcc6fb620340fe152989a5dae58434 100644
|
|
|
b2d430 |
--- a/src/db/sysdb.h
|
|
|
b2d430 |
+++ b/src/db/sysdb.h
|
|
|
b2d430 |
@@ -220,6 +220,7 @@
|
|
|
b2d430 |
SYSDB_SID_STR, \
|
|
|
b2d430 |
SYSDB_UPN, \
|
|
|
b2d430 |
SYSDB_USER_CERT, \
|
|
|
b2d430 |
+ SYSDB_USER_EMAIL, \
|
|
|
b2d430 |
SYSDB_OVERRIDE_DN, \
|
|
|
b2d430 |
SYSDB_OVERRIDE_OBJECT_DN, \
|
|
|
b2d430 |
SYSDB_DEFAULT_OVERRIDE_NAME, \
|
|
|
b2d430 |
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
|
|
|
b2d430 |
index 4e84b3202cbf367e70a47a3c7edb06e357657538..77e540d8da969614e4ab40c62e6ae1f271962f31 100644
|
|
|
b2d430 |
--- a/src/responder/nss/nsssrv_cmd.c
|
|
|
b2d430 |
+++ b/src/responder/nss/nsssrv_cmd.c
|
|
|
b2d430 |
@@ -4421,6 +4421,7 @@ static errno_t nss_cmd_getsidby_search(struct nss_dom_ctx *dctx)
|
|
|
b2d430 |
SYSDB_AD_USER_ACCOUNT_CONTROL,
|
|
|
b2d430 |
SYSDB_SSH_PUBKEY,
|
|
|
b2d430 |
SYSDB_USER_CERT,
|
|
|
b2d430 |
+ SYSDB_USER_EMAIL,
|
|
|
b2d430 |
SYSDB_ORIG_DN,
|
|
|
b2d430 |
SYSDB_ORIG_MEMBEROF,
|
|
|
b2d430 |
SYSDB_DEFAULT_ATTRS, NULL};
|
|
|
b2d430 |
@@ -4977,6 +4978,7 @@ static errno_t fill_orig(struct sss_packet *packet,
|
|
|
b2d430 |
SYSDB_AD_USER_ACCOUNT_CONTROL,
|
|
|
b2d430 |
SYSDB_SSH_PUBKEY,
|
|
|
b2d430 |
SYSDB_USER_CERT,
|
|
|
b2d430 |
+ SYSDB_USER_EMAIL,
|
|
|
b2d430 |
SYSDB_ORIG_DN,
|
|
|
b2d430 |
SYSDB_ORIG_MEMBEROF,
|
|
|
b2d430 |
NULL};
|
|
|
b2d430 |
--
|
|
|
b2d430 |
2.4.11
|
|
|
b2d430 |
|