summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-29 16:05:50 -0800
committerJeremy Allison <jra@samba.org>2012-03-01 03:50:40 +0100
commit1c2aacd6da923efbc0b87e720399417f008f82c2 (patch)
treee03c96d7c7fb15ed4233f701371bdecbbcf68250 /source3/smbd/proto.h
parentbca3fb3eccef620a47e5088cbd79dfa3ea79e814 (diff)
downloadsamba-1c2aacd6da923efbc0b87e720399417f008f82c2.tar.gz
samba-1c2aacd6da923efbc0b87e720399417f008f82c2.tar.bz2
samba-1c2aacd6da923efbc0b87e720399417f008f82c2.zip
Add open_dir_with_privilege() to ensure we're opening the correct directory when doing backup requests.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 1 03:50:40 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 9a1e9cd683..599180084e 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -197,7 +197,9 @@ void dptr_closecnum(connection_struct *conn);
void dptr_idlecnum(connection_struct *conn);
void dptr_closepath(struct smbd_server_connection *sconn,
char *path,uint16 spid);
-NTSTATUS dptr_create(connection_struct *conn, files_struct *fsp,
+NTSTATUS dptr_create(connection_struct *conn,
+ struct smb_request *req,
+ files_struct *fsp,
const char *path, bool old_handle, bool expect_close,uint16 spid,
const char *wcard, bool wcard_has_wild, uint32 attr, struct dptr_struct **dptr_ret);
void dptr_CloseDir(files_struct *fsp);