summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-12-08 18:03:01 +0100
committerGünther Deschner <gd@samba.org>2009-01-06 16:02:13 +0100
commite2fa47a04c912856d5bd0f4f76428d5134e24056 (patch)
tree04da0403e50c119ef81719777f06b4f85c227257 /source3/rpc_server
parentb0f71378839f9276b3d7de2515c712a6c6618fda (diff)
downloadsamba-e2fa47a04c912856d5bd0f4f76428d5134e24056.tar.gz
samba-e2fa47a04c912856d5bd0f4f76428d5134e24056.tar.bz2
samba-e2fa47a04c912856d5bd0f4f76428d5134e24056.zip
s3-lsa: avoid all init_lsa* functions.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 05452112ca..3063427595 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -198,7 +198,9 @@ static NTSTATUS lookup_lsa_rids(TALLOC_CTX *mem_ctx,
mapped_count++;
}
- init_lsa_translated_sid(&prid[i], type, rid, dom_idx);
+ prid[i].sid_type = type;
+ prid[i].rid = rid;
+ prid[i].sid_index = dom_idx;
}
*pmapped_count = mapped_count;
@@ -768,8 +770,10 @@ static NTSTATUS _lsa_lookup_sids_internal(pipes_struct *p,
mapped_count += 1;
}
- init_lsa_translated_name2(&names[i], name->type,
- name->name, name->dom_idx, 0);
+ names[i].sid_type = name->type;
+ names[i].name.string = name->name;
+ names[i].sid_index = name->dom_idx;
+ names[i].unknown = 0;
}
status = NT_STATUS_NONE_MAPPED;