diff options
author | Günther Deschner <gd@samba.org> | 2009-08-17 16:49:24 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-08-17 18:24:24 +0200 |
commit | abe7648609949847c15089cb5096176eba8a6dfa (patch) | |
tree | 1565fc5f3c86a24c96812f3d673712c843166be8 /librpc | |
parent | 53196955d47293ebf5956ddbdbbbc131e7116a78 (diff) | |
download | samba-abe7648609949847c15089cb5096176eba8a6dfa.tar.gz |
netlogon: document some more MSVC flags.
Some of these were observed during password changing
from win7 using a samba 3.4 PDC.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/gen_ndr/ndr_netlogon.c | 13 | ||||
-rw-r--r-- | librpc/gen_ndr/netlogon.h | 13 | ||||
-rw-r--r-- | librpc/idl/netlogon.idl | 15 |
3 files changed, 40 insertions, 1 deletions
diff --git a/librpc/gen_ndr/ndr_netlogon.c b/librpc/gen_ndr/ndr_netlogon.c index 30c8d9d7e75..18969ec7fe6 100644 --- a/librpc/gen_ndr/ndr_netlogon.c +++ b/librpc/gen_ndr/ndr_netlogon.c @@ -296,9 +296,22 @@ _PUBLIC_ void ndr_print_netr_LogonParameterControl(struct ndr_print *ndr, const ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_CLEARTEXT_PASSWORD_ALLOWED", MSV1_0_CLEARTEXT_PASSWORD_ALLOWED, r); ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_UPDATE_LOGON_STATISTICS", MSV1_0_UPDATE_LOGON_STATISTICS, r); ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_RETURN_USER_PARAMETERS", MSV1_0_RETURN_USER_PARAMETERS, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_DONT_TRY_GUEST_ACCOUNT", MSV1_0_DONT_TRY_GUEST_ACCOUNT, r); ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT", MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_RETURN_PASSWORD_EXPIRY", MSV1_0_RETURN_PASSWORD_EXPIRY, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_USE_CLIENT_CHALLENGE", MSV1_0_USE_CLIENT_CHALLENGE, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_TRY_GUEST_ACCOUNT_ONLY", MSV1_0_TRY_GUEST_ACCOUNT_ONLY, r); ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_RETURN_PROFILE_PATH", MSV1_0_RETURN_PROFILE_PATH, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY", MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY, r); ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT", MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_DISABLE_PERSONAL_FALLBACK", MSV1_0_DISABLE_PERSONAL_FALLBACK, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_ALLOW_FORCE_GUEST", MSV1_0_ALLOW_FORCE_GUEST, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED", MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY", MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_ALLOW_MSVCHAPV2", MSV1_0_ALLOW_MSVCHAPV2, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_S4U2SELF", MSV1_0_S4U2SELF, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_CHECK_LOGONHOURS_FOR_S4U", MSV1_0_CHECK_LOGONHOURS_FOR_S4U, r); + ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "MSV1_0_SUBAUTHENTICATION_DLL_EX", MSV1_0_SUBAUTHENTICATION_DLL_EX, r); ndr->depth--; } diff --git a/librpc/gen_ndr/netlogon.h b/librpc/gen_ndr/netlogon.h index 6f621075e6a..28307ff28c0 100644 --- a/librpc/gen_ndr/netlogon.h +++ b/librpc/gen_ndr/netlogon.h @@ -53,9 +53,22 @@ struct netr_AcctLockStr { #define MSV1_0_CLEARTEXT_PASSWORD_ALLOWED ( 0x00000002 ) #define MSV1_0_UPDATE_LOGON_STATISTICS ( 0x00000004 ) #define MSV1_0_RETURN_USER_PARAMETERS ( 0x00000008 ) +#define MSV1_0_DONT_TRY_GUEST_ACCOUNT ( 0x00000010 ) #define MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT ( 0x00000020 ) +#define MSV1_0_RETURN_PASSWORD_EXPIRY ( 0x00000040 ) +#define MSV1_0_USE_CLIENT_CHALLENGE ( 0x00000080 ) +#define MSV1_0_TRY_GUEST_ACCOUNT_ONLY ( 0x00000100 ) #define MSV1_0_RETURN_PROFILE_PATH ( 0x00000200 ) +#define MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY ( 0x00000400 ) #define MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT ( 0x00000800 ) +#define MSV1_0_DISABLE_PERSONAL_FALLBACK ( 0x00001000 ) +#define MSV1_0_ALLOW_FORCE_GUEST ( 0x00002000 ) +#define MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED ( 0x00004000 ) +#define MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY ( 0x00008000 ) +#define MSV1_0_ALLOW_MSVCHAPV2 ( 0x00010000 ) +#define MSV1_0_S4U2SELF ( 0x00020000 ) +#define MSV1_0_CHECK_LOGONHOURS_FOR_S4U ( 0x00040000 ) +#define MSV1_0_SUBAUTHENTICATION_DLL_EX ( 0x00100000 ) struct netr_IdentityInfo { struct lsa_String domain_name; diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl index 1b3ef458a8f..c34059a411c 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -108,9 +108,22 @@ interface netlogon MSV1_0_CLEARTEXT_PASSWORD_ALLOWED = 0x00000002, MSV1_0_UPDATE_LOGON_STATISTICS = 0x00000004, MSV1_0_RETURN_USER_PARAMETERS = 0x00000008, + MSV1_0_DONT_TRY_GUEST_ACCOUNT = 0x00000010, MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT = 0x00000020, + MSV1_0_RETURN_PASSWORD_EXPIRY = 0x00000040, + MSV1_0_USE_CLIENT_CHALLENGE = 0x00000080, + MSV1_0_TRY_GUEST_ACCOUNT_ONLY = 0x00000100, MSV1_0_RETURN_PROFILE_PATH = 0x00000200, - MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT = 0x00000800 + MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY = 0x00000400, + MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT = 0x00000800, + MSV1_0_DISABLE_PERSONAL_FALLBACK = 0x00001000, + MSV1_0_ALLOW_FORCE_GUEST = 0x00002000, + MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED = 0x00004000, + MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY = 0x00008000, + MSV1_0_ALLOW_MSVCHAPV2 = 0x00010000, + MSV1_0_S4U2SELF = 0x00020000, + MSV1_0_CHECK_LOGONHOURS_FOR_S4U = 0x00040000, + MSV1_0_SUBAUTHENTICATION_DLL_EX = 0x00100000 } netr_LogonParameterControl; typedef struct { |