diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-26 18:20:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-26 18:20:51 +0100 |
commit | 58db2befbd82b8e1e7cb7de29da7f567dea314e9 (patch) | |
tree | 71361673a51d0d2904f7fe91a1b7fba826e78596 /librpc/idl/samr.idl | |
parent | 8e9c5f8c006d5753b7bda0df16eadbcf802df0c9 (diff) | |
download | samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.tar.gz samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.tar.bz2 samba-58db2befbd82b8e1e7cb7de29da7f567dea314e9.zip |
Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
Diffstat (limited to 'librpc/idl/samr.idl')
-rw-r--r-- | librpc/idl/samr.idl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/librpc/idl/samr.idl b/librpc/idl/samr.idl index ee179407d4..6ef069ac4b 100644 --- a/librpc/idl/samr.idl +++ b/librpc/idl/samr.idl @@ -17,6 +17,22 @@ import "misc.idl", "lsa.idl", "security.idl"; { typedef bitmap security_secinfo security_secinfo; + /* 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; + + typedef [public,v1_enum] enum { + SAMR_REJECT_OTHER = 0, + SAMR_REJECT_TOO_SHORT = 1, + SAMR_REJECT_IN_HISTORY = 2, + SAMR_REJECT_COMPLEXITY = 5 + } samr_RejectReason; + + + /* account control (acct_flags) bits */ typedef [public,bitmap32bit] bitmap { ACB_DISABLED = 0x00000001, /* 1 = User account disabled */ |