summaryrefslogtreecommitdiff
path: root/source3/pipentlsa.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-28 17:54:10 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-28 17:54:10 +0000
commitd8e79427c98fdd5eb5a8d57fc6d9b10464fd9882 (patch)
tree465a843a571b599debadfaec7f97293b30320496 /source3/pipentlsa.c
parent79f670128fc5f377182d81c0f353138ab3923a45 (diff)
downloadsamba-d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882.tar.gz
samba-d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882.tar.bz2
samba-d8e79427c98fdd5eb5a8d57fc6d9b10464fd9882.zip
smb.h smbparse.c pipeutil.c :
added bind and bind ack structures and parsing functions. restructured rpc header stuff. ntclient.c pipenetlog.c pipentlsa.c pipesrvsvc.c : having to deal with restructuring above. (This used to be commit 9f2c4f1fee7e411adba8f529b7666a7325584457)
Diffstat (limited to 'source3/pipentlsa.c')
-rw-r--r--source3/pipentlsa.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/pipentlsa.c b/source3/pipentlsa.c
index cf40ccc7af..9cf670e464 100644
--- a/source3/pipentlsa.c
+++ b/source3/pipentlsa.c
@@ -345,7 +345,7 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data,
char **rdata,char **rparam,
int *rdata_len,int *rparam_len)
{
- RPC_HDR hdr;
+ RPC_HDR_RR hdr;
if (data == NULL)
{
@@ -353,11 +353,11 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data,
return False;
}
- smb_io_rpc_hdr(True, &hdr, data, data, 4, 0);
+ smb_io_rpc_hdr_rr(True, &hdr, data, data, 4, 0);
- if (hdr.pkt_type == RPC_BIND) /* RPC BIND */
+ if (hdr.hdr.pkt_type == RPC_BIND) /* RPC BIND */
{
- DEBUG(4,("lsarpc rpc bind %x\n", hdr.pkt_type));
+ DEBUG(4,("lsarpc rpc bind %x\n", hdr.hdr.pkt_type));
LsarpcTNP1(data,rdata,rdata_len);
return True;
}
@@ -370,7 +370,7 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data,
{
DEBUG(3,("LSA_OPENPOLICY\n"));
api_lsa_open_policy(param, data, rdata, rdata_len);
- create_rpc_reply(hdr.call_id, *rdata, *rdata_len);
+ create_rpc_reply(hdr.hdr.call_id, *rdata, *rdata_len);
break;
}
@@ -379,7 +379,7 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data,
DEBUG(3,("LSA_QUERYINFOPOLICY\n"));
api_lsa_query_info(param, data, rdata, rdata_len);
- create_rpc_reply(hdr.call_id, *rdata, *rdata_len);
+ create_rpc_reply(hdr.hdr.call_id, *rdata, *rdata_len);
break;
}
@@ -447,7 +447,7 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data,
{
DEBUG(3,("LSA_OPENSECRET\n"));
api_lsa_lookup_sids(param, data, rdata, rdata_len);
- create_rpc_reply(hdr.call_id, *rdata, *rdata_len);
+ create_rpc_reply(hdr.hdr.call_id, *rdata, *rdata_len);
break;
}
@@ -455,7 +455,7 @@ BOOL api_ntLsarpcTNP(int cnum,int uid, char *param,char *data,
{
DEBUG(3,("LSA_LOOKUPNAMES\n"));
api_lsa_lookup_names(param, data, rdata, rdata_len);
- create_rpc_reply(hdr.call_id, *rdata, *rdata_len);
+ create_rpc_reply(hdr.hdr.call_id, *rdata, *rdata_len);
break;
}