r13637: Adding more netr_UserFlags.
authorGünther Deschner <gd@samba.org>
Wed, 22 Feb 2006 16:25:31 +0000 (16:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:03 +0000 (13:52 -0500)
Guenther
(This used to be commit 3ad84a844c612104592ddee07c9512eddb3467ae)

source4/librpc/idl/netlogon.idl

index 75d1b3316b62e71e441ea8fb7741ca2364f71987..1b03527cf7834db5eea8bcec4e356a7dcf0c1c30 100644 (file)
@@ -139,8 +139,18 @@ interface netlogon
        } netr_LMSessionKey;
 
        /* Flags for user_flags below */
-       const int NETLOGON_EXTRA_SIDS = 0x0020;
-       const int NETLOGON_RESOURCE_GROUPS = 0x0200;
+       typedef [public,bitmap32bit] bitmap {
+               NETLOGON_GUEST                  = 0x0001,
+               NETLOGON_NOENCRYPTION           = 0x0002,
+               NETLOGON_CACHED_ACCOUNT         = 0x0004,
+               NETLOGON_USED_LM_PASSWORD       = 0x0008,
+               NETLOGON_EXTRA_SIDS             = 0x0020,
+               NETLOGON_SUBAUTH_SESSION_KEY    = 0x0040,
+               NETLOGON_SERVER_TRUST_ACCOUNT   = 0x0080,
+               NETLOGON_NTLMV2_ENABLED         = 0x0100,
+               NETLOGON_RESOURCE_GROUPS        = 0x0200,
+               NETLOGON_PROFILE_PATH_RETURNED  = 0x0400
+       } netr_UserFlags;
 
        typedef struct {
                NTTIME last_logon;
@@ -160,7 +170,7 @@ interface netlogon
                uint32 rid;
                uint32 primary_gid;
                samr_RidWithAttributeArray groups;
-               uint32 user_flags;
+               netr_UserFlags user_flags;
                netr_UserSessionKey key;
                lsa_StringLarge logon_server;
                lsa_StringLarge domain;