diff options
author | Günther Deschner <gd@samba.org> | 2008-03-12 16:35:41 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-12 16:35:41 +0100 |
commit | fd62e5688b4ced6568da1111f5a97bff0a54932e (patch) | |
tree | 31030999f23a8fae25e9846e5d9c44f6aa8fcb3f /source3/rpc_client/cli_lsarpc.c | |
parent | 5e86a172a567ca9a60d74d1076430fb5e70b27a6 (diff) | |
download | samba-fd62e5688b4ced6568da1111f5a97bff0a54932e.tar.gz samba-fd62e5688b4ced6568da1111f5a97bff0a54932e.tar.bz2 samba-fd62e5688b4ced6568da1111f5a97bff0a54932e.zip |
Use existing srv_name_slash.
Guenther
(This used to be commit 5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r-- | source3/rpc_client/cli_lsarpc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c index 0b89488a21..3d57e22f42 100644 --- a/source3/rpc_client/cli_lsarpc.c +++ b/source3/rpc_client/cli_lsarpc.c @@ -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); |