summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-11-19 17:55:28 -0800
committerTim Prouty <tprouty@samba.org>2008-12-03 17:50:37 -0800
commitf995a7af2a06ccff29f23f1b099e0a84bc948f6e (patch)
tree4d1b1b193f16ea3c6c5567127084cfe9d74be17b /source3/rpc_server
parentf38d7f20a865b1ff5f7b039dd284d91b2ba7ec26 (diff)
downloadsamba-f995a7af2a06ccff29f23f1b099e0a84bc948f6e.tar.gz
samba-f995a7af2a06ccff29f23f1b099e0a84bc948f6e.tar.bz2
samba-f995a7af2a06ccff29f23f1b099e0a84bc948f6e.zip
s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE
Now unix paths can be differentiated from windows paths so the underlying create_file implementations can convert paths correctly.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index b1a31f1761..0febfbca06 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -2053,6 +2053,7 @@ WERROR _srvsvc_NetGetFileSecurity(pipes_struct *p,
NULL, /* req */
0, /* root_dir_fid */
r->in.file, /* fname */
+ true, /* is_dos_path */
FILE_READ_ATTRIBUTES, /* access_mask */
FILE_SHARE_READ|FILE_SHARE_WRITE, /* share_access */
FILE_OPEN, /* create_disposition*/
@@ -2167,6 +2168,7 @@ WERROR _srvsvc_NetSetFileSecurity(pipes_struct *p,
NULL, /* req */
0, /* root_dir_fid */
r->in.file, /* fname */
+ true, /* is_dos_path */
FILE_WRITE_ATTRIBUTES, /* access_mask */
FILE_SHARE_READ|FILE_SHARE_WRITE, /* share_access */
FILE_OPEN, /* create_disposition*/