/usr/include/samba-4.0/gen_ndr/auth.h is in libndr-standard-dev 4.0.0~alpha18.dfsg1-4ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | /* header auto-generated by pidl */
#ifndef _PIDL_HEADER_auth
#define _PIDL_HEADER_auth
#include <stdint.h>
#include <core/ntstatus.h>
#include <gen_ndr/misc.h>
#include <gen_ndr/security.h>
#include <gen_ndr/lsa.h>
#include <gen_ndr/krb5pac.h>
#ifndef _HEADER_auth
#define _HEADER_auth
enum auth_method
#ifndef USE_UINT_ENUMS
{
SEC_AUTH_METHOD_UNAUTHENTICATED=(int)(0),
SEC_AUTH_METHOD_NTLM=(int)(1),
SEC_AUTH_METHOD_KERBEROS=(int)(2)
}
#else
{ __donnot_use_enum_auth_method=0x7FFFFFFF}
#define SEC_AUTH_METHOD_UNAUTHENTICATED ( 0 )
#define SEC_AUTH_METHOD_NTLM ( 1 )
#define SEC_AUTH_METHOD_KERBEROS ( 2 )
#endif
;
struct auth_user_info {
const char *account_name;/* [unique,charset(UTF8)] */
const char *domain_name;/* [unique,charset(UTF8)] */
const char *full_name;/* [unique,charset(UTF8)] */
const char *logon_script;/* [unique,charset(UTF8)] */
const char *profile_path;/* [unique,charset(UTF8)] */
const char *home_directory;/* [unique,charset(UTF8)] */
const char *home_drive;/* [unique,charset(UTF8)] */
const char *logon_server;/* [unique,charset(UTF8)] */
NTTIME last_logon;
NTTIME last_logoff;
NTTIME acct_expiry;
NTTIME last_password_change;
NTTIME allow_password_change;
NTTIME force_password_change;
uint16_t logon_count;
uint16_t bad_password_count;
uint32_t acct_flags;
uint8_t authenticated;
}/* [public] */;
struct auth_user_info_torture {
uint32_t num_dc_sids;
struct dom_sid *dc_sids;/* [size_is(num_dc_sids)] */
}/* [public] */;
struct auth_user_info_unix {
uint8_t system;
const char *unix_name;/* [unique,charset(UTF8)] */
const char *sanitized_username;/* [unique,charset(UTF8)] */
}/* [public] */;
struct auth_user_info_dc {
uint32_t num_sids;
struct dom_sid *sids;/* [size_is(num_sids)] */
struct auth_user_info *info;/* [unique] */
DATA_BLOB user_session_key;
DATA_BLOB lm_session_key;
}/* [public] */;
struct auth_session_info {
struct security_token *security_token;/* [unique] */
struct security_unix_token *unix_token;/* [unique] */
struct auth_user_info *info;/* [unique] */
struct auth_user_info_unix *unix_info;/* [unique] */
struct auth_user_info_torture *torture;/* [value(NULL),ignore] */
DATA_BLOB session_key;
struct cli_credentials *credentials;/* [value(NULL),ignore] */
}/* [public] */;
struct auth_session_info_transport {
struct auth_session_info *session_info;/* [unique] */
DATA_BLOB exported_gssapi_credentials;
}/* [public] */;
#endif /* _HEADER_auth */
#endif /* _PIDL_HEADER_auth */
|