diff options
author | Günther Deschner <gd@samba.org> | 2008-03-12 16:19:56 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-12 16:19:56 +0100 |
commit | 5e86a172a567ca9a60d74d1076430fb5e70b27a6 (patch) | |
tree | 1fb90f31f87af3b6cc6f0856f766aa5c289abb74 /source3/libsmb | |
parent | 08188dc72e4e962e58145b51f52ae880ce1ff8c4 (diff) | |
download | samba-5e86a172a567ca9a60d74d1076430fb5e70b27a6.tar.gz samba-5e86a172a567ca9a60d74d1076430fb5e70b27a6.tar.bz2 samba-5e86a172a567ca9a60d74d1076430fb5e70b27a6.zip |
For convenience reasons, always create cli->srv_name_slash in the rpc_client.
Guenther
(This used to be commit 6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cliconnect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 912b841d5e..5e8a586cd0 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1485,6 +1485,7 @@ NTSTATUS cli_connect(struct cli_state *cli, } fstrcpy(cli->desthost, host); + fstr_sprintf(cli->srv_name_slash, "\\\\%s", cli->desthost); /* allow hostnames of the form NAME#xx and do a netbios lookup */ if ((p = strchr(cli->desthost, '#'))) { |