diff options
-rw-r--r-- | source4/librpc/idl/misc.idl | 9 | ||||
-rw-r--r-- | source4/librpc/idl/nbt.idl | 8 | ||||
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 7 |
3 files changed, 15 insertions, 9 deletions
diff --git a/source4/librpc/idl/misc.idl b/source4/librpc/idl/misc.idl index 745a7652c2..5d40753448 100644 --- a/source4/librpc/idl/misc.idl +++ b/source4/librpc/idl/misc.idl @@ -31,4 +31,13 @@ interface misc SEC_CHAN_DOMAIN = 4, SEC_CHAN_BDC = 6 } netr_SchannelType; + + /* SAM database types */ + typedef [public,v1_enum] enum { + SAM_DATABASE_DOMAIN = 0, /* Domain users and groups */ + SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */ + SAM_DATABASE_PRIVS = 2 /* Privileges */ + } netr_SamDatabaseID; + + } diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index fe41549327..e3c72480fc 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -405,11 +405,13 @@ uint16 lm20_token; } nbt_netlogon_response_from_pdc2; + declare enum netr_SamDatabaseID; + /* announce change to UAS or SAM */ typedef struct { - uint32 db_index; - hyper serial; - NTTIME timestamp; + netr_SamDatabaseID db_index; + hyper serial; + NTTIME timestamp; } nbt_db_change; /* used to announce SAM changes */ diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index 7f7b9c5caa..48fd1e69dd 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -291,12 +291,7 @@ interface netlogon /*****************/ /* Function 0x07 */ - /* SAM database types */ - typedef [v1_enum] enum { - SAM_DATABASE_DOMAIN = 0, /* Domain users and groups */ - SAM_DATABASE_BUILTIN = 1, /* BUILTIN users and groups */ - SAM_DATABASE_PRIVS = 2 /* Privileges */ - } netr_SamDatabaseID; + declare enum netr_SamDatabaseID; typedef struct { unistr *account_name; |