summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-01-29 16:46:12 +0000
committerVolker Lendecke <vl@samba.org>2017-03-07 09:15:17 +0100
commitf16e302376529f73c30b2c4d11526843266e3eea (patch)
tree983b0c0cb3c967bdd2f3f9e99b5ab7ae3209f666 /nsswitch
parent3a6a7b53af48853508c31394ca8b1d22b2df1811 (diff)
downloadsamba-f16e302376529f73c30b2c4d11526843266e3eea.tar.gz
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 <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/winbind_struct_protocol.h6
1 files changed, 4 insertions, 2 deletions
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;