Commit 59cb1f6f authored by Ralph Boehme's avatar Ralph Boehme

nsswitch: add "validation_level" and "info6" to winbindd_response

Signed-off-by: 's avatarRalph Boehme <slow@samba.org>
Reviewed-by: 's avatarStefan Metzmacher <metze@samba.org>
parent 7290b5cf
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment