summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--librpc/gen_ndr/security.h4
-rw-r--r--librpc/idl/security.idl3
-rw-r--r--source4/libcli/security/privilege.c6
3 files changed, 10 insertions, 3 deletions
diff --git a/librpc/gen_ndr/security.h b/librpc/gen_ndr/security.h
index 32ea2eaacd..f90dd413a8 100644
--- a/librpc/gen_ndr/security.h
+++ b/librpc/gen_ndr/security.h
@@ -166,7 +166,8 @@ enum sec_privilege
SEC_PRIV_ENABLE_DELEGATION=21,
SEC_PRIV_INTERACTIVE_LOGON=22,
SEC_PRIV_NETWORK_LOGON=23,
- SEC_PRIV_REMOTE_INTERACTIVE_LOGON=24
+ SEC_PRIV_REMOTE_INTERACTIVE_LOGON=24,
+ SEC_PRIV_MACHINE_ACCOUNT=25
}
#else
{ __donnot_use_enum_sec_privilege=0x7FFFFFFF}
@@ -194,6 +195,7 @@ enum sec_privilege
#define SEC_PRIV_INTERACTIVE_LOGON ( 22 )
#define SEC_PRIV_NETWORK_LOGON ( 23 )
#define SEC_PRIV_REMOTE_INTERACTIVE_LOGON ( 24 )
+#define SEC_PRIV_MACHINE_ACCOUNT ( 25 )
#endif
;
diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl
index caad08e954..825ce96d71 100644
--- a/librpc/idl/security.idl
+++ b/librpc/idl/security.idl
@@ -261,7 +261,8 @@ interface security
SEC_PRIV_ENABLE_DELEGATION = 21,
SEC_PRIV_INTERACTIVE_LOGON = 22,
SEC_PRIV_NETWORK_LOGON = 23,
- SEC_PRIV_REMOTE_INTERACTIVE_LOGON = 24
+ SEC_PRIV_REMOTE_INTERACTIVE_LOGON = 24,
+ SEC_PRIV_MACHINE_ACCOUNT = 25
} sec_privilege;
diff --git a/source4/libcli/security/privilege.c b/source4/libcli/security/privilege.c
index 2cbef13538..2ebc1dc915 100644
--- a/source4/libcli/security/privilege.c
+++ b/source4/libcli/security/privilege.c
@@ -123,7 +123,11 @@ static const struct {
{SEC_PRIV_REMOTE_INTERACTIVE_LOGON,
"SeRemoteInteractiveLogonRight",
- "Remote Interactive logon"}
+ "Remote Interactive logon"},
+
+ {SEC_PRIV_MACHINE_ACCOUNT,
+ "SeMachineAccountPrivilege",
+ "Add workstations to domain"}
};