1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Use existing srv_name_slash.

Guenther
(This used to be commit 5f2b3145fc)
This commit is contained in:
Günther Deschner
2008-03-12 16:35:41 +01:00
parent 5e86a172a5
commit fd62e5688b
3 changed files with 5 additions and 26 deletions

View File

@ -87,7 +87,6 @@ NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
{
struct lsa_ObjectAttribute attr;
struct lsa_QosInfo qos;
char *srv_name_slash = talloc_asprintf(mem_ctx, "\\\\%s", cli->cli->desthost);
if (sec_qos) {
init_lsa_sec_qos(&qos, 0xc, 2, 1, 0);
@ -109,7 +108,7 @@ NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
}
return rpccli_lsa_OpenPolicy2(cli, mem_ctx,
srv_name_slash,
cli->cli->srv_name_slash,
&attr,
des_access,
pol);