diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2022-12-12 10:50:01 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2023-02-08 00:03:39 +0000 |
commit | 14d94460ca1ef22269373f36ec50df248aca9465 (patch) | |
tree | ead5a685adf9569e531c69249539de8762673207 /librpc | |
parent | 8aef16bbbc1e55f0a9f5a8ec87e5348688d93785 (diff) | |
download | samba-14d94460ca1ef22269373f36ec50df248aca9465.tar.gz |
auth: Pass through entire PAC flags value in auth_user_info
Besides the NETLOGON_GUEST bit indicating whether the user has been
authenticated, we now carry all of the other bits as well. This lets us
match Windows' behaviour of simply passing these bits through to an
updated PAC when processing a TGS-REQ.
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/auth.idl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/librpc/idl/auth.idl b/librpc/idl/auth.idl index 582587e062f..a6b4a118be2 100644 --- a/librpc/idl/auth.idl +++ b/librpc/idl/auth.idl @@ -52,7 +52,11 @@ interface auth uint32 acct_flags; - uint8 authenticated; + /* + * The NETLOGON_GUEST flag being set indicates the user is not + * authenticated. + */ + uint32 user_flags; } auth_user_info; /* This information is preserved only to assist torture tests */ |