summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_net.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-16 17:27:41 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-16 17:27:41 +0000
commit6b56ebb7cf48b350ba4e9fd5c61a8900b805a001 (patch)
tree66206a94e5cb3a8e41d3bc832854655fef1356c0 /source3/rpc_parse/parse_net.c
parent82f1f32ff7a6d1c1db221aaeb265cbad5ff7c583 (diff)
downloadsamba-6b56ebb7cf48b350ba4e9fd5c61a8900b805a001.tar.gz
samba-6b56ebb7cf48b350ba4e9fd5c61a8900b805a001.tar.bz2
samba-6b56ebb7cf48b350ba4e9fd5c61a8900b805a001.zip
added two new params: "trusted domains" and "trusting domains".
these _may_ not actually ever get used, as trust relationships really need to be established with shared secrets, and you need to get the SID of the trusted and trusting domains, so this may have to go in a private/xxx.mac file. (This used to be commit 71f12138679251a9ebcada35969d9baea286a3e9)
Diffstat (limited to 'source3/rpc_parse/parse_net.c')
-rw-r--r--source3/rpc_parse/parse_net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index 4864308d70..b21f612c8a 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -294,7 +294,7 @@ BOOL net_io_r_logon_ctrl2(char *desc, NET_R_LOGON_CTRL2 *r_l, prs_struct *ps, i
makes an NET_R_TRUST_DOM_LIST structure.
********************************************************************/
BOOL make_r_trust_dom(NET_R_TRUST_DOM_LIST *r_t,
- uint32 num_doms, char *dom_name)
+ uint32 num_doms, char **dom_name)
{
uint32 i = 0;
@@ -312,7 +312,7 @@ BOOL make_r_trust_dom(NET_R_TRUST_DOM_LIST *r_t,
for (i = 0; i < num_doms; i++)
{
fstring domain_name;
- fstrcpy(domain_name, dom_name);
+ fstrcpy(domain_name, dom_name[i]);
strupper(domain_name);
make_unistr2(&(r_t->uni_trust_dom_name[i]), domain_name, strlen(domain_name)+1);
/* the use of UNISTR2 here is non-standard. */
@@ -357,8 +357,8 @@ BOOL net_io_q_trust_dom(char *desc, NET_Q_TRUST_DOM_LIST *q_l, prs_struct *ps,
prs_debug(ps, depth, desc, "net_io_q_trust_dom");
depth++;
- prs_uint32("ptr ", ps, depth, &(q_l->ptr ));
- smb_io_unistr2 ("", &(q_l->uni_server_name), q_l->ptr, ps, depth);
+ prs_uint32("ptr", ps, depth, &(q_l->ptr));
+ smb_io_unistr2 ("name", &(q_l->uni_server_name), q_l->ptr, ps, depth);
prs_align(ps);