summaryrefslogtreecommitdiff
path: root/source4/libcli/security
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-20 13:32:25 +0200
committerGünther Deschner <gd@samba.org>2009-05-20 13:35:05 +0200
commit9a13af9a994e385a5966eed7cdf3a2add00f8f08 (patch)
tree444583162df01fddfb16d5a0369234189fb448a6 /source4/libcli/security
parent4b21ad9db7babb1e278fa2e3b81737b6df36e2d2 (diff)
downloadsamba-9a13af9a994e385a5966eed7cdf3a2add00f8f08.tar.gz
samba-9a13af9a994e385a5966eed7cdf3a2add00f8f08.tar.bz2
samba-9a13af9a994e385a5966eed7cdf3a2add00f8f08.zip
s4: try to fix privileges implementation in order to pass the RPC-SAMR-USERS-PRIVILEGES test.
Guenther
Diffstat (limited to 'source4/libcli/security')
-rw-r--r--source4/libcli/security/privilege.c6
1 files changed, 5 insertions, 1 deletions
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"}
};