From c2f94222e9625593e026d21ff314039cc776c592 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 21 Dec 2004 09:41:21 +0000 Subject: r4309: idl and torture test for lsa_GetUserName() why does samba3 return domain_name as in the unknown_name field in the code and on the wire it returns DCERPC_FAULT_OP_RNG_ERROR? all of my test machines NT4,W2K,W2K3,XP returned NULL and if I file the string in the .in.* the server echos the strings back and returns NT_STATUS_INVALID_PARAMETER metze (This used to be commit 67e765b7e984d7aac2a7786b5bd0c80d10d6de5d) --- source4/librpc/idl/lsa.idl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index 5928f44d32..ec694df1bf 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -649,9 +649,17 @@ [out,ref] policy_handle *handle ); + /**********************/ + /* Function: 0x2d */ + typedef struct { + lsa_String *string; + } lsa_StringPointer; - /* Function: 0x2d */ - NTSTATUS lsa_GetUserName(); + NTSTATUS lsa_GetUserName( + [in] unistr *system_name, + [in,out] lsa_String *account_name, + [in,out] lsa_StringPointer *unknown_name + ); /**********************/ /* Function: 0x2e */ -- cgit