summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/rpc.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-15 17:55:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:10 -0500
commit41c571e659bcbcbc16ac5ba8f4ae202d70642f36 (patch)
treea80543f26ac3e3a72c06b988f7838aa505897ebc /source4/torture/rpc/rpc.c
parent4e4e698f2b59716464d2514bea3e6049170e7272 (diff)
downloadsamba-41c571e659bcbcbc16ac5ba8f4ae202d70642f36.tar.gz
samba-41c571e659bcbcbc16ac5ba8f4ae202d70642f36.tar.bz2
samba-41c571e659bcbcbc16ac5ba8f4ae202d70642f36.zip
r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Found that because I want to play around with setsharesecurity, for this I need the "whoami" call figuring out the SID of the currently connected user. Not activating this test yet until the build farm has picked up the new samba4 revision. Volker (This used to be commit 5603db30e7dfbb3d5c4599d36a50007a2b3cac75)
Diffstat (limited to 'source4/torture/rpc/rpc.c')
-rw-r--r--source4/torture/rpc/rpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index eaa2932587..f22c206cad 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -130,6 +130,8 @@ NTSTATUS torture_rpc_init(void)
register_torture_op("RPC-NETLOGSAMBA3", torture_netlogon_samba3);
register_torture_op("RPC-SAMBA3SESSIONKEY", torture_samba3_sessionkey);
register_torture_op("RPC-SAMBA3-SRVSVC", torture_samba3_rpc_srvsvc);
+ register_torture_op("RPC-SAMBA3-GETUSERNAME",
+ torture_samba3_rpc_getusername);
register_torture_op("RPC-DRSUAPI", torture_rpc_drsuapi);
register_torture_op("RPC-CRACKNAMES", torture_rpc_drsuapi_cracknames);
register_torture_op("RPC-ROT", torture_rpc_rot);