summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-12 07:22:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:45 -0500
commit516dbfd5ed45159366840087398669c5224d2844 (patch)
tree8d754716b8d21454739c1398c9a97114cbdc62c5 /source4/librpc
parentfef48c0cc8b58536ed2f3338fc7c790a846f305d (diff)
downloadsamba-516dbfd5ed45159366840087398669c5224d2844.tar.gz
samba-516dbfd5ed45159366840087398669c5224d2844.tar.bz2
samba-516dbfd5ed45159366840087398669c5224d2844.zip
r4702: implment idl, torture test and server code for netr_ServerPasswordSet2()
metze (This used to be commit 7d8ba92da2b8babe7165f105591fd3e5738b2319)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/netlogon.idl12
-rw-r--r--source4/librpc/idl/samr.idl2
2 files changed, 11 insertions, 3 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 3b4f299d7c..8251969982 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -1004,9 +1004,17 @@ interface netlogon
[out,switch_is(level)] netr_DomainInfo info
);
- /****************/
+ /*****************/
/* Function 0x1e */
- WERROR netr_NETRSERVERPASSWORDSET2();
+ NTSTATUS netr_ServerPasswordSet2(
+ [in] unistr *server_name,
+ [in] unistr account_name,
+ [in] netr_SchannelType secure_channel_type,
+ [in] unistr computer_name,
+ [in] netr_Authenticator credential,
+ [in] samr_CryptPassword new_password,
+ [out] netr_Authenticator return_authenticator
+ );
/****************/
/* Function 0x1f */
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 56387936c7..84aaa2a10a 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -717,7 +717,7 @@
uint8 unknown4;
} samr_UserInfo21;
- typedef [flag(NDR_PAHEX)] struct {
+ typedef [public, flag(NDR_PAHEX)] struct {
uint8 data[516];
} samr_CryptPassword;