summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_pam.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-01-29 16:51:53 +0000
committerVolker Lendecke <vl@samba.org>2017-03-07 09:15:17 +0100
commita6f4e603063b540f37a1b8774dd9253dd595a913 (patch)
tree36456ed8149b00480f1965bb0896ed13dd62ac5e /nsswitch/libwbclient/wbc_pam.c
parent0ff97d969f7c10202ef67972293c78930da53088 (diff)
downloadsamba-a6f4e603063b540f37a1b8774dd9253dd595a913.tar.gz
libwbclient: Add "authoritative" to wbcAuthErrorInfo
smbd needs to react to "authoritative" Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'nsswitch/libwbclient/wbc_pam.c')
-rw-r--r--nsswitch/libwbclient/wbc_pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c
index 0d1b90c75fd..cb2d5a0f4c4 100644
--- a/nsswitch/libwbclient/wbc_pam.c
+++ b/nsswitch/libwbclient/wbc_pam.c
@@ -259,6 +259,7 @@ static wbcErr wbc_create_error_info(const struct winbindd_response *resp,
e->nt_status = resp->data.auth.nt_status;
e->pam_error = resp->data.auth.pam_error;
+ e->authoritative = resp->data.auth.authoritative;
e->nt_string = strdup(resp->data.auth.nt_status_string);
BAIL_ON_PTR_ERROR(e->nt_string, wbc_status);