summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-01-06 00:06:46 +0000
committerJeremy Allison <jra@samba.org>2000-01-06 00:06:46 +0000
commiteb87c3fbdc83839ff7a0e4d3911d46b1d994d545 (patch)
tree898524475ba20db04a3f9828bde1027989dd1d92 /source3
parent5983a77020a27dd6d7591107070e5167833727d2 (diff)
downloadsamba-eb87c3fbdc83839ff7a0e4d3911d46b1d994d545.tar.gz
samba-eb87c3fbdc83839ff7a0e4d3911d46b1d994d545.tar.bz2
samba-eb87c3fbdc83839ff7a0e4d3911d46b1d994d545.zip
Fix for renaming directories on OS/2 server. Fix from John Janosik <jpjanosi@us.ibm.com>.
Jeremy. (This used to be commit b3c0dd72339b2004684b1650c8f7832577bc44b0)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clientgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index 4f620bc5f4..1e230e2ff5 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -1059,7 +1059,7 @@ BOOL cli_rename(struct cli_state *cli, char *fname_src, char *fname_dst)
SSVAL(cli->outbuf,smb_tid,cli->cnum);
cli_setup_packet(cli);
- SSVAL(cli->outbuf,smb_vwv0,aSYSTEM | aHIDDEN);
+ SSVAL(cli->outbuf,smb_vwv0,aSYSTEM | aHIDDEN | aDIR);
p = smb_buf(cli->outbuf);
*p++ = 4;