diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-08 23:54:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:30 -0500 |
commit | 540911001d1bf25d9534b72b90a32fc7e5efc4b0 (patch) | |
tree | e9ed5f9507e4d8b4980aadcc12a71796a1a93192 /source3/client/smbctool.c | |
parent | a39f08eec29235d9b09c169e3a95eba0484c7847 (diff) | |
download | samba-540911001d1bf25d9534b72b90a32fc7e5efc4b0.tar.gz samba-540911001d1bf25d9534b72b90a32fc7e5efc4b0.tar.bz2 samba-540911001d1bf25d9534b72b90a32fc7e5efc4b0.zip |
r21768: Fix the client dfs code such that smbclient can
process deep dfs links (ie. links that go to non root
parts of a share). Make the directory handling conanonical
in POSIX and Windows pathname processing.
dfs should not be fully working in client tools. Please
bug me if not.
Jeremy.
(This used to be commit 1c9e10569cd97ee41de39f9f012bea4e4c932b5d)
Diffstat (limited to 'source3/client/smbctool.c')
-rw-r--r-- | source3/client/smbctool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/smbctool.c b/source3/client/smbctool.c index 29466108c0..2063418a91 100644 --- a/source3/client/smbctool.c +++ b/source3/client/smbctool.c @@ -368,7 +368,7 @@ static int do_cd(char *newdir) all_string_sub(cur_dir, "/./", "/", 0); /* Format the directory in a libmsmbclient friendly way */ - unix_clean_name(cur_dir); + clean_name(cur_dir); all_string_sub(cur_dir, "/./", "/", 0); pstrcpy(targetpath, "smb:"); pstrcat(targetpath, service); @@ -1130,7 +1130,7 @@ static int cmd_more(void) unlink(lname); return 1; } - dos_clean_name(rname); + clean_name(rname); rc = do_get(rname, lname, False); @@ -2678,7 +2678,7 @@ static int cmd_reget(void) return 1; } pstrcpy(local_name, p); - dos_clean_name(remote_name); + clean_name(remote_name); next_token_nr(NULL, local_name, NULL, sizeof(local_name)); @@ -2716,7 +2716,7 @@ static int cmd_reput(void) else pstrcat(remote_name, local_name); - dos_clean_name(remote_name); + clean_name(remote_name); return do_put(remote_name, local_name, True); } |