summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-07-28 09:48:42 +0200
committerAndreas Schneider <asn@samba.org>2010-07-28 10:39:23 +0200
commit872f9655587a0bb314172797c799cd5d2a0b4e8f (patch)
treed04ad7d530c1bdb547aa71a40bfac6df5a882ed4
parent35d629d54ce30a4dbf6a53f4616ed77dd0033a1b (diff)
downloadsamba-872f9655587a0bb314172797c799cd5d2a0b4e8f.tar.gz
samba-872f9655587a0bb314172797c799cd5d2a0b4e8f.tar.bz2
samba-872f9655587a0bb314172797c799cd5d2a0b4e8f.zip
s3-lsa: Use struct pipes_struct.
-rw-r--r--source3/rpc_server/srv_lsa_nt.c203
1 files changed, 120 insertions, 83 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index c035e62eea..0dc3cbc5a5 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -362,7 +362,7 @@ static NTSTATUS make_lsa_object_sd(TALLOC_CTX *mem_ctx, struct security_descript
_lsa_OpenPolicy2
***************************************************************************/
-NTSTATUS _lsa_OpenPolicy2(pipes_struct *p,
+NTSTATUS _lsa_OpenPolicy2(struct pipes_struct *p,
struct lsa_OpenPolicy2 *r)
{
struct lsa_info *info;
@@ -415,7 +415,7 @@ NTSTATUS _lsa_OpenPolicy2(pipes_struct *p,
_lsa_OpenPolicy
***************************************************************************/
-NTSTATUS _lsa_OpenPolicy(pipes_struct *p,
+NTSTATUS _lsa_OpenPolicy(struct pipes_struct *p,
struct lsa_OpenPolicy *r)
{
struct lsa_OpenPolicy2 o;
@@ -434,7 +434,7 @@ NTSTATUS _lsa_OpenPolicy(pipes_struct *p,
ufff, done :) mimir
***************************************************************************/
-NTSTATUS _lsa_EnumTrustDom(pipes_struct *p,
+NTSTATUS _lsa_EnumTrustDom(struct pipes_struct *p,
struct lsa_EnumTrustDom *r)
{
struct lsa_info *info;
@@ -512,7 +512,7 @@ NTSTATUS _lsa_EnumTrustDom(pipes_struct *p,
_lsa_QueryInfoPolicy
***************************************************************************/
-NTSTATUS _lsa_QueryInfoPolicy(pipes_struct *p,
+NTSTATUS _lsa_QueryInfoPolicy(struct pipes_struct *p,
struct lsa_QueryInfoPolicy *r)
{
NTSTATUS status = NT_STATUS_OK;
@@ -753,7 +753,7 @@ NTSTATUS _lsa_QueryInfoPolicy(pipes_struct *p,
_lsa_QueryInfoPolicy2
***************************************************************************/
-NTSTATUS _lsa_QueryInfoPolicy2(pipes_struct *p,
+NTSTATUS _lsa_QueryInfoPolicy2(struct pipes_struct *p,
struct lsa_QueryInfoPolicy2 *r2)
{
struct lsa_QueryInfoPolicy r;
@@ -775,7 +775,7 @@ NTSTATUS _lsa_QueryInfoPolicy2(pipes_struct *p,
_lsa_lookup_sids_internal
***************************************************************************/
-static NTSTATUS _lsa_lookup_sids_internal(pipes_struct *p,
+static NTSTATUS _lsa_lookup_sids_internal(struct pipes_struct *p,
TALLOC_CTX *mem_ctx,
uint16_t level, /* input */
int num_sids, /* input */
@@ -887,7 +887,7 @@ static NTSTATUS _lsa_lookup_sids_internal(pipes_struct *p,
_lsa_LookupSids
***************************************************************************/
-NTSTATUS _lsa_LookupSids(pipes_struct *p,
+NTSTATUS _lsa_LookupSids(struct pipes_struct *p,
struct lsa_LookupSids *r)
{
NTSTATUS status;
@@ -968,7 +968,7 @@ NTSTATUS _lsa_LookupSids(pipes_struct *p,
_lsa_LookupSids2
***************************************************************************/
-NTSTATUS _lsa_LookupSids2(pipes_struct *p,
+NTSTATUS _lsa_LookupSids2(struct pipes_struct *p,
struct lsa_LookupSids2 *r)
{
NTSTATUS status;
@@ -1034,7 +1034,7 @@ NTSTATUS _lsa_LookupSids2(pipes_struct *p,
_lsa_LookupSids3
***************************************************************************/
-NTSTATUS _lsa_LookupSids3(pipes_struct *p,
+NTSTATUS _lsa_LookupSids3(struct pipes_struct *p,
struct lsa_LookupSids3 *r)
{
struct lsa_LookupSids2 q;
@@ -1094,7 +1094,7 @@ static int lsa_lookup_level_to_flags(enum lsa_LookupNamesLevel level)
_lsa_LookupNames
***************************************************************************/
-NTSTATUS _lsa_LookupNames(pipes_struct *p,
+NTSTATUS _lsa_LookupNames(struct pipes_struct *p,
struct lsa_LookupNames *r)
{
NTSTATUS status = NT_STATUS_NONE_MAPPED;
@@ -1172,7 +1172,7 @@ done:
_lsa_LookupNames2
***************************************************************************/
-NTSTATUS _lsa_LookupNames2(pipes_struct *p,
+NTSTATUS _lsa_LookupNames2(struct pipes_struct *p,
struct lsa_LookupNames2 *r)
{
NTSTATUS status;
@@ -1224,7 +1224,7 @@ NTSTATUS _lsa_LookupNames2(pipes_struct *p,
_lsa_LookupNames3
***************************************************************************/
-NTSTATUS _lsa_LookupNames3(pipes_struct *p,
+NTSTATUS _lsa_LookupNames3(struct pipes_struct *p,
struct lsa_LookupNames3 *r)
{
NTSTATUS status;
@@ -1317,7 +1317,7 @@ done:
_lsa_LookupNames4
***************************************************************************/
-NTSTATUS _lsa_LookupNames4(pipes_struct *p,
+NTSTATUS _lsa_LookupNames4(struct pipes_struct *p,
struct lsa_LookupNames4 *r)
{
struct lsa_LookupNames3 q;
@@ -1349,7 +1349,7 @@ NTSTATUS _lsa_LookupNames4(pipes_struct *p,
_lsa_close. Also weird - needs to check if lsa handle is correct. JRA.
***************************************************************************/
-NTSTATUS _lsa_Close(pipes_struct *p, struct lsa_Close *r)
+NTSTATUS _lsa_Close(struct pipes_struct *p, struct lsa_Close *r)
{
if (!find_policy_by_hnd(p, r->in.handle, NULL)) {
return NT_STATUS_INVALID_HANDLE;
@@ -1363,7 +1363,7 @@ NTSTATUS _lsa_Close(pipes_struct *p, struct lsa_Close *r)
/***************************************************************************
***************************************************************************/
-NTSTATUS _lsa_OpenSecret(pipes_struct *p, struct lsa_OpenSecret *r)
+NTSTATUS _lsa_OpenSecret(struct pipes_struct *p, struct lsa_OpenSecret *r)
{
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
@@ -1371,7 +1371,8 @@ NTSTATUS _lsa_OpenSecret(pipes_struct *p, struct lsa_OpenSecret *r)
/***************************************************************************
***************************************************************************/
-NTSTATUS _lsa_OpenTrustedDomain(pipes_struct *p, struct lsa_OpenTrustedDomain *r)
+NTSTATUS _lsa_OpenTrustedDomain(struct pipes_struct *p,
+ struct lsa_OpenTrustedDomain *r)
{
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
@@ -1379,7 +1380,8 @@ NTSTATUS _lsa_OpenTrustedDomain(pipes_struct *p, struct lsa_OpenTrustedDomain *r
/***************************************************************************
***************************************************************************/
-NTSTATUS _lsa_CreateTrustedDomain(pipes_struct *p, struct lsa_CreateTrustedDomain *r)
+NTSTATUS _lsa_CreateTrustedDomain(struct pipes_struct *p,
+ struct lsa_CreateTrustedDomain *r)
{
return NT_STATUS_ACCESS_DENIED;
}
@@ -1387,7 +1389,7 @@ NTSTATUS _lsa_CreateTrustedDomain(pipes_struct *p, struct lsa_CreateTrustedDomai
/***************************************************************************
***************************************************************************/
-NTSTATUS _lsa_CreateSecret(pipes_struct *p, struct lsa_CreateSecret *r)
+NTSTATUS _lsa_CreateSecret(struct pipes_struct *p, struct lsa_CreateSecret *r)
{
return NT_STATUS_ACCESS_DENIED;
}
@@ -1395,7 +1397,7 @@ NTSTATUS _lsa_CreateSecret(pipes_struct *p, struct lsa_CreateSecret *r)
/***************************************************************************
***************************************************************************/
-NTSTATUS _lsa_SetSecret(pipes_struct *p, struct lsa_SetSecret *r)
+NTSTATUS _lsa_SetSecret(struct pipes_struct *p, struct lsa_SetSecret *r)
{
return NT_STATUS_ACCESS_DENIED;
}
@@ -1404,7 +1406,7 @@ NTSTATUS _lsa_SetSecret(pipes_struct *p, struct lsa_SetSecret *r)
_lsa_DeleteObject
***************************************************************************/
-NTSTATUS _lsa_DeleteObject(pipes_struct *p,
+NTSTATUS _lsa_DeleteObject(struct pipes_struct *p,
struct lsa_DeleteObject *r)
{
NTSTATUS status;
@@ -1441,7 +1443,7 @@ NTSTATUS _lsa_DeleteObject(pipes_struct *p,
_lsa_EnumPrivs
***************************************************************************/
-NTSTATUS _lsa_EnumPrivs(pipes_struct *p,
+NTSTATUS _lsa_EnumPrivs(struct pipes_struct *p,
struct lsa_EnumPrivs *r)
{
struct lsa_info *handle;
@@ -1512,7 +1514,7 @@ NTSTATUS _lsa_EnumPrivs(pipes_struct *p,
_lsa_LookupPrivDisplayName
***************************************************************************/
-NTSTATUS _lsa_LookupPrivDisplayName(pipes_struct *p,
+NTSTATUS _lsa_LookupPrivDisplayName(struct pipes_struct *p,
struct lsa_LookupPrivDisplayName *r)
{
struct lsa_info *handle;
@@ -1561,7 +1563,7 @@ NTSTATUS _lsa_LookupPrivDisplayName(pipes_struct *p,
_lsa_EnumAccounts
***************************************************************************/
-NTSTATUS _lsa_EnumAccounts(pipes_struct *p,
+NTSTATUS _lsa_EnumAccounts(struct pipes_struct *p,
struct lsa_EnumAccounts *r)
{
struct lsa_info *handle;
@@ -1625,7 +1627,7 @@ NTSTATUS _lsa_EnumAccounts(pipes_struct *p,
_lsa_GetUserName
***************************************************************************/
-NTSTATUS _lsa_GetUserName(pipes_struct *p,
+NTSTATUS _lsa_GetUserName(struct pipes_struct *p,
struct lsa_GetUserName *r)
{
const char *username, *domname;
@@ -1683,7 +1685,7 @@ NTSTATUS _lsa_GetUserName(pipes_struct *p,
_lsa_CreateAccount
***************************************************************************/
-NTSTATUS _lsa_CreateAccount(pipes_struct *p,
+NTSTATUS _lsa_CreateAccount(struct pipes_struct *p,
struct lsa_CreateAccount *r)
{
NTSTATUS status;
@@ -1754,7 +1756,7 @@ NTSTATUS _lsa_CreateAccount(pipes_struct *p,
_lsa_OpenAccount
***************************************************************************/
-NTSTATUS _lsa_OpenAccount(pipes_struct *p,
+NTSTATUS _lsa_OpenAccount(struct pipes_struct *p,
struct lsa_OpenAccount *r)
{
struct lsa_info *handle;
@@ -1826,7 +1828,7 @@ NTSTATUS _lsa_OpenAccount(pipes_struct *p,
For a given SID, enumerate all the privilege this account has.
***************************************************************************/
-NTSTATUS _lsa_EnumPrivsAccount(pipes_struct *p,
+NTSTATUS _lsa_EnumPrivsAccount(struct pipes_struct *p,
struct lsa_EnumPrivsAccount *r)
{
NTSTATUS status = NT_STATUS_OK;
@@ -1898,7 +1900,7 @@ NTSTATUS _lsa_EnumPrivsAccount(pipes_struct *p,
_lsa_GetSystemAccessAccount
***************************************************************************/
-NTSTATUS _lsa_GetSystemAccessAccount(pipes_struct *p,
+NTSTATUS _lsa_GetSystemAccessAccount(struct pipes_struct *p,
struct lsa_GetSystemAccessAccount *r)
{
NTSTATUS status;
@@ -1957,7 +1959,7 @@ NTSTATUS _lsa_GetSystemAccessAccount(pipes_struct *p,
update the systemaccount information
***************************************************************************/
-NTSTATUS _lsa_SetSystemAccessAccount(pipes_struct *p,
+NTSTATUS _lsa_SetSystemAccessAccount(struct pipes_struct *p,
struct lsa_SetSystemAccessAccount *r)
{
struct lsa_info *info=NULL;
@@ -1986,7 +1988,7 @@ NTSTATUS _lsa_SetSystemAccessAccount(pipes_struct *p,
For a given SID, add some privileges.
***************************************************************************/
-NTSTATUS _lsa_AddPrivilegesToAccount(pipes_struct *p,
+NTSTATUS _lsa_AddPrivilegesToAccount(struct pipes_struct *p,
struct lsa_AddPrivilegesToAccount *r)
{
struct lsa_info *info = NULL;
@@ -2025,7 +2027,7 @@ NTSTATUS _lsa_AddPrivilegesToAccount(pipes_struct *p,
For a given SID, remove some privileges.
***************************************************************************/
-NTSTATUS _lsa_RemovePrivilegesFromAccount(pipes_struct *p,
+NTSTATUS _lsa_RemovePrivilegesFromAccount(struct pipes_struct *p,
struct lsa_RemovePrivilegesFromAccount *r)
{
struct lsa_info *info = NULL;
@@ -2064,7 +2066,7 @@ NTSTATUS _lsa_RemovePrivilegesFromAccount(pipes_struct *p,
_lsa_LookupPrivName
***************************************************************************/
-NTSTATUS _lsa_LookupPrivName(pipes_struct *p,
+NTSTATUS _lsa_LookupPrivName(struct pipes_struct *p,
struct lsa_LookupPrivName *r)
{
struct lsa_info *info = NULL;
@@ -2109,7 +2111,7 @@ NTSTATUS _lsa_LookupPrivName(pipes_struct *p,
_lsa_QuerySecurity
***************************************************************************/
-NTSTATUS _lsa_QuerySecurity(pipes_struct *p,
+NTSTATUS _lsa_QuerySecurity(struct pipes_struct *p,
struct lsa_QuerySecurity *r)
{
struct lsa_info *handle=NULL;
@@ -2152,7 +2154,7 @@ NTSTATUS _lsa_QuerySecurity(pipes_struct *p,
_lsa_AddAccountRights
***************************************************************************/
-NTSTATUS _lsa_AddAccountRights(pipes_struct *p,
+NTSTATUS _lsa_AddAccountRights(struct pipes_struct *p,
struct lsa_AddAccountRights *r)
{
struct lsa_info *info = NULL;
@@ -2222,7 +2224,7 @@ NTSTATUS _lsa_AddAccountRights(pipes_struct *p,
_lsa_RemoveAccountRights
***************************************************************************/
-NTSTATUS _lsa_RemoveAccountRights(pipes_struct *p,
+NTSTATUS _lsa_RemoveAccountRights(struct pipes_struct *p,
struct lsa_RemoveAccountRights *r)
{
struct lsa_info *info = NULL;
@@ -2338,7 +2340,7 @@ static NTSTATUS init_lsa_right_set(TALLOC_CTX *mem_ctx,
_lsa_EnumAccountRights
***************************************************************************/
-NTSTATUS _lsa_EnumAccountRights(pipes_struct *p,
+NTSTATUS _lsa_EnumAccountRights(struct pipes_struct *p,
struct lsa_EnumAccountRights *r)
{
NTSTATUS status;
@@ -2394,7 +2396,7 @@ NTSTATUS _lsa_EnumAccountRights(pipes_struct *p,
_lsa_LookupPrivValue
***************************************************************************/
-NTSTATUS _lsa_LookupPrivValue(pipes_struct *p,
+NTSTATUS _lsa_LookupPrivValue(struct pipes_struct *p,
struct lsa_LookupPrivValue *r)
{
struct lsa_info *info = NULL;
@@ -2433,7 +2435,7 @@ NTSTATUS _lsa_LookupPrivValue(pipes_struct *p,
_lsa_EnumAccountsWithUserRight
***************************************************************************/
-NTSTATUS _lsa_EnumAccountsWithUserRight(pipes_struct *p,
+NTSTATUS _lsa_EnumAccountsWithUserRight(struct pipes_struct *p,
struct lsa_EnumAccountsWithUserRight *r)
{
NTSTATUS status;
@@ -2490,7 +2492,7 @@ NTSTATUS _lsa_EnumAccountsWithUserRight(pipes_struct *p,
_lsa_Delete
***************************************************************************/
-NTSTATUS _lsa_Delete(pipes_struct *p,
+NTSTATUS _lsa_Delete(struct pipes_struct *p,
struct lsa_Delete *r)
{
return NT_STATUS_NOT_SUPPORTED;
@@ -2502,265 +2504,300 @@ NTSTATUS _lsa_Delete(pipes_struct *p,
* pulling the server stubs across one by one.
*/
-NTSTATUS _lsa_SetSecObj(pipes_struct *p, struct lsa_SetSecObj *r)
+NTSTATUS _lsa_SetSecObj(struct pipes_struct *p, struct lsa_SetSecObj *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_ChangePassword(pipes_struct *p, struct lsa_ChangePassword *r)
+NTSTATUS _lsa_ChangePassword(struct pipes_struct *p,
+ struct lsa_ChangePassword *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetInfoPolicy(pipes_struct *p, struct lsa_SetInfoPolicy *r)
+NTSTATUS _lsa_SetInfoPolicy(struct pipes_struct *p, struct lsa_SetInfoPolicy *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_ClearAuditLog(pipes_struct *p, struct lsa_ClearAuditLog *r)
+NTSTATUS _lsa_ClearAuditLog(struct pipes_struct *p, struct lsa_ClearAuditLog *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_GetQuotasForAccount(pipes_struct *p, struct lsa_GetQuotasForAccount *r)
+NTSTATUS _lsa_GetQuotasForAccount(struct pipes_struct *p,
+ struct lsa_GetQuotasForAccount *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetQuotasForAccount(pipes_struct *p, struct lsa_SetQuotasForAccount *r)
+NTSTATUS _lsa_SetQuotasForAccount(struct pipes_struct *p,
+ struct lsa_SetQuotasForAccount *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_QueryTrustedDomainInfo(pipes_struct *p, struct lsa_QueryTrustedDomainInfo *r)
+NTSTATUS _lsa_QueryTrustedDomainInfo(struct pipes_struct *p,
+ struct lsa_QueryTrustedDomainInfo *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetInformationTrustedDomain(pipes_struct *p, struct lsa_SetInformationTrustedDomain *r)
+NTSTATUS _lsa_SetInformationTrustedDomain(struct pipes_struct *p,
+ struct lsa_SetInformationTrustedDomain *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_QuerySecret(pipes_struct *p, struct lsa_QuerySecret *r)
+NTSTATUS _lsa_QuerySecret(struct pipes_struct *p, struct lsa_QuerySecret *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_QueryTrustedDomainInfoBySid(pipes_struct *p, struct lsa_QueryTrustedDomainInfoBySid *r)
+NTSTATUS _lsa_QueryTrustedDomainInfoBySid(struct pipes_struct *p,
+ struct lsa_QueryTrustedDomainInfoBySid *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetTrustedDomainInfo(pipes_struct *p, struct lsa_SetTrustedDomainInfo *r)
+NTSTATUS _lsa_SetTrustedDomainInfo(struct pipes_struct *p,
+ struct lsa_SetTrustedDomainInfo *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_DeleteTrustedDomain(pipes_struct *p, struct lsa_DeleteTrustedDomain *r)
+NTSTATUS _lsa_DeleteTrustedDomain(struct pipes_struct *p,
+ struct lsa_DeleteTrustedDomain *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_StorePrivateData(pipes_struct *p, struct lsa_StorePrivateData *r)
+NTSTATUS _lsa_StorePrivateData(struct pipes_struct *p,
+ struct lsa_StorePrivateData *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_RetrievePrivateData(pipes_struct *p, struct lsa_RetrievePrivateData *r)
+NTSTATUS _lsa_RetrievePrivateData(struct pipes_struct *p,
+ struct lsa_RetrievePrivateData *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetInfoPolicy2(pipes_struct *p, struct lsa_SetInfoPolicy2 *r)
+NTSTATUS _lsa_SetInfoPolicy2(struct pipes_struct *p,
+ struct lsa_SetInfoPolicy2 *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_QueryTrustedDomainInfoByName(pipes_struct *p, struct lsa_QueryTrustedDomainInfoByName *r)
+NTSTATUS _lsa_QueryTrustedDomainInfoByName(struct pipes_struct *p,
+ struct lsa_QueryTrustedDomainInfoByName *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetTrustedDomainInfoByName(pipes_struct *p, struct lsa_SetTrustedDomainInfoByName *r)
+NTSTATUS _lsa_SetTrustedDomainInfoByName(struct pipes_struct *p,
+ struct lsa_SetTrustedDomainInfoByName *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_EnumTrustedDomainsEx(pipes_struct *p, struct lsa_EnumTrustedDomainsEx *r)
+NTSTATUS _lsa_EnumTrustedDomainsEx(struct pipes_struct *p,
+ struct lsa_EnumTrustedDomainsEx *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CreateTrustedDomainEx(pipes_struct *p, struct lsa_CreateTrustedDomainEx *r)
+NTSTATUS _lsa_CreateTrustedDomainEx(struct pipes_struct *p,
+ struct lsa_CreateTrustedDomainEx *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CloseTrustedDomainEx(pipes_struct *p, struct lsa_CloseTrustedDomainEx *r)
+NTSTATUS _lsa_CloseTrustedDomainEx(struct pipes_struct *p,
+ struct lsa_CloseTrustedDomainEx *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_QueryDomainInformationPolicy(pipes_struct *p, struct lsa_QueryDomainInformationPolicy *r)
+NTSTATUS _lsa_QueryDomainInformationPolicy(struct pipes_struct *p,
+ struct lsa_QueryDomainInformationPolicy *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_SetDomainInformationPolicy(pipes_struct *p, struct lsa_SetDomainInformationPolicy *r)
+NTSTATUS _lsa_SetDomainInformationPolicy(struct pipes_struct *p,
+ struct lsa_SetDomainInformationPolicy *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_OpenTrustedDomainByName(pipes_struct *p, struct lsa_OpenTrustedDomainByName *r)
+NTSTATUS _lsa_OpenTrustedDomainByName(struct pipes_struct *p,
+ struct lsa_OpenTrustedDomainByName *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_TestCall(pipes_struct *p, struct lsa_TestCall *r)
+NTSTATUS _lsa_TestCall(struct pipes_struct *p, struct lsa_TestCall *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CreateTrustedDomainEx2(pipes_struct *p, struct lsa_CreateTrustedDomainEx2 *r)
+NTSTATUS _lsa_CreateTrustedDomainEx2(struct pipes_struct *p,
+ struct lsa_CreateTrustedDomainEx2 *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRWRITE(pipes_struct *p, struct lsa_CREDRWRITE *r)
+NTSTATUS _lsa_CREDRWRITE(struct pipes_struct *p, struct lsa_CREDRWRITE *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRREAD(pipes_struct *p, struct lsa_CREDRREAD *r)
+NTSTATUS _lsa_CREDRREAD(struct pipes_struct *p, struct lsa_CREDRREAD *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRENUMERATE(pipes_struct *p, struct lsa_CREDRENUMERATE *r)
+NTSTATUS _lsa_CREDRENUMERATE(struct pipes_struct *p, struct lsa_CREDRENUMERATE *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRWRITEDOMAINCREDENTIALS(pipes_struct *p, struct lsa_CREDRWRITEDOMAINCREDENTIALS *r)
+NTSTATUS _lsa_CREDRWRITEDOMAINCREDENTIALS(struct pipes_struct *p,
+ struct lsa_CREDRWRITEDOMAINCREDENTIALS *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRREADDOMAINCREDENTIALS(pipes_struct *p, struct lsa_CREDRREADDOMAINCREDENTIALS *r)
+NTSTATUS _lsa_CREDRREADDOMAINCREDENTIALS(struct pipes_struct *p,
+ struct lsa_CREDRREADDOMAINCREDENTIALS *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRDELETE(pipes_struct *p, struct lsa_CREDRDELETE *r)
+NTSTATUS _lsa_CREDRDELETE(struct pipes_struct *p, struct lsa_CREDRDELETE *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRGETTARGETINFO(pipes_struct *p, struct lsa_CREDRGETTARGETINFO *r)
+NTSTATUS _lsa_CREDRGETTARGETINFO(struct pipes_struct *p,
+ struct lsa_CREDRGETTARGETINFO *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRPROFILELOADED(pipes_struct *p, struct lsa_CREDRPROFILELOADED *r)
+NTSTATUS _lsa_CREDRPROFILELOADED(struct pipes_struct *p,
+ struct lsa_CREDRPROFILELOADED *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRGETSESSIONTYPES(pipes_struct *p, struct lsa_CREDRGETSESSIONTYPES *r)
+NTSTATUS _lsa_CREDRGETSESSIONTYPES(struct pipes_struct *p,
+ struct lsa_CREDRGETSESSIONTYPES *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSARREGISTERAUDITEVENT(pipes_struct *p, struct lsa_LSARREGISTERAUDITEVENT *r)
+NTSTATUS _lsa_LSARREGISTERAUDITEVENT(struct pipes_struct *p,
+ struct lsa_LSARREGISTERAUDITEVENT *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSARGENAUDITEVENT(pipes_struct *p, struct lsa_LSARGENAUDITEVENT *r)
+NTSTATUS _lsa_LSARGENAUDITEVENT(struct pipes_struct *p,
+ struct lsa_LSARGENAUDITEVENT *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSARUNREGISTERAUDITEVENT(pipes_struct *p, struct lsa_LSARUNREGISTERAUDITEVENT *r)
+NTSTATUS _lsa_LSARUNREGISTERAUDITEVENT(struct pipes_struct *p,
+ struct lsa_LSARUNREGISTERAUDITEVENT *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_lsaRQueryForestTrustInformation(pipes_struct *p, struct lsa_lsaRQueryForestTrustInformation *r)
+NTSTATUS _lsa_lsaRQueryForestTrustInformation(struct pipes_struct *p,
+ struct lsa_lsaRQueryForestTrustInformation *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_lsaRSetForestTrustInformation(pipes_struct *p, struct lsa_lsaRSetForestTrustInformation *r)
+NTSTATUS _lsa_lsaRSetForestTrustInformation(struct pipes_struct *p,
+ struct lsa_lsaRSetForestTrustInformation *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_CREDRRENAME(pipes_struct *p, struct lsa_CREDRRENAME *r)
+NTSTATUS _lsa_CREDRRENAME(struct pipes_struct *p,
+ struct lsa_CREDRRENAME *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSAROPENPOLICYSCE(pipes_struct *p, struct lsa_LSAROPENPOLICYSCE *r)
+NTSTATUS _lsa_LSAROPENPOLICYSCE(struct pipes_struct *p,
+ struct lsa_LSAROPENPOLICYSCE *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSARADTREGISTERSECURITYEVENTSOURCE(pipes_struct *p, struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE *r)
+NTSTATUS _lsa_LSARADTREGISTERSECURITYEVENTSOURCE(struct pipes_struct *p,
+ struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(pipes_struct *p, struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE *r)
+NTSTATUS _lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(struct pipes_struct *p,
+ struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS _lsa_LSARADTREPORTSECURITYEVENT(pipes_struct *p, struct lsa_LSARADTREPORTSECURITYEVENT *r)
+NTSTATUS _lsa_LSARADTREPORTSECURITYEVENT(struct pipes_struct *p,
+ struct lsa_LSARADTREPORTSECURITYEVENT *r)
{
p->rng_fault_state = True;
return NT_STATUS_NOT_IMPLEMENTED;