From 59cb1f6f9c3817bc436746e6f29fd44855451838 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Wed, 10 Jan 2018 10:20:46 +0100 Subject: nsswitch: add "validation_level" and "info6" to winbindd_response Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- nsswitch/winbind_struct_protocol.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'nsswitch/winbind_struct_protocol.h') diff --git a/nsswitch/winbind_struct_protocol.h b/nsswitch/winbind_struct_protocol.h index 9100dbcf6ea..3f3ebd0b66d 100644 --- a/nsswitch/winbind_struct_protocol.h +++ b/nsswitch/winbind_struct_protocol.h @@ -59,8 +59,9 @@ typedef char fstring[FSTRING_LEN]; * removed WINBINDD_GID_TO_SID * removed WINBINDD_UID_TO_SID * 29: added "authoritative" to response.data.auth + * 30: added "validation_level" and "info6" to response.data.auth */ -#define WINBIND_INTERFACE_VERSION 29 +#define WINBIND_INTERFACE_VERSION 30 /* Have to deal with time_t being 4 or 8 bytes due to structure alignment. On a 64bit Linux box, we have to support a constant structure size @@ -434,7 +435,8 @@ struct winbindd_response { fstring krb5ccname; uint32_t reject_reason; uint8_t authoritative; - uint8_t padding[3]; + uint8_t padding[1]; + uint16_t validation_level; struct policy_settings { uint32_t min_length_password; uint32_t password_history; @@ -468,6 +470,10 @@ struct winbindd_response { fstring logon_srv; fstring logon_dom; } info3; + struct info6_text { + fstring dns_domainname; + fstring principal_name; + } info6; fstring unix_username; } auth; struct { -- cgit v1.2.1