From f16e302376529f73c30b2c4d11526843266e3eea Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 29 Jan 2017 16:46:12 +0000 Subject: winbind: Add "authoritative" to winbindd_response This is a relevant piece of info in the samlogon response, smbd and netlogond need to be able to react to it. Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher --- nsswitch/winbind_struct_protocol.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'nsswitch') diff --git a/nsswitch/winbind_struct_protocol.h b/nsswitch/winbind_struct_protocol.h index 84829d2da74..a2e7d4c392c 100644 --- a/nsswitch/winbind_struct_protocol.h +++ b/nsswitch/winbind_struct_protocol.h @@ -58,8 +58,9 @@ typedef char fstring[FSTRING_LEN]; * removed WINBINDD_SID_TO_GID * removed WINBINDD_GID_TO_SID * removed WINBINDD_UID_TO_SID + * 29: added "authoritative" to response.data.auth */ -#define WINBIND_INTERFACE_VERSION 28 +#define WINBIND_INTERFACE_VERSION 29 /* 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 @@ -432,7 +433,8 @@ struct winbindd_response { char first_8_lm_hash[8]; fstring krb5ccname; uint32_t reject_reason; - uint32_t padding; + uint8_t authoritative; + uint8_t padding[3]; struct policy_settings { uint32_t min_length_password; uint32_t password_history; -- cgit v1.2.1