summaryrefslogtreecommitdiff
path: root/source3/include/fake_file.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-04-29 17:19:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:22 -0500
commit77182a81f0e370584d37dc9368f0697b8cf69afd (patch)
treed6e414f018457843b8fdcc927a9da3382efb4e89 /source3/include/fake_file.h
parent3250a8ab0aa70b1658dbc187af56d20de5c32cc8 (diff)
downloadsamba-77182a81f0e370584d37dc9368f0697b8cf69afd.tar.gz
samba-77182a81f0e370584d37dc9368f0697b8cf69afd.tar.bz2
samba-77182a81f0e370584d37dc9368f0697b8cf69afd.zip
r408: - replace (conn->admin_user != True) with (current_user.uid != 0)
because someone changed it in all other places too - fix quotas support from windows explorer we now got the unix file name of a fake_file metze (This used to be commit 87e97d7723674e3835578ef080ce554d9c5537ac)
Diffstat (limited to 'source3/include/fake_file.h')
-rw-r--r--source3/include/fake_file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/fake_file.h b/source3/include/fake_file.h
index 3fe60072e9..cfcd16f683 100644
--- a/source3/include/fake_file.h
+++ b/source3/include/fake_file.h
@@ -26,7 +26,11 @@ enum FAKE_FILE_TYPE {
FAKE_FILE_TYPE_QUOTA
};
+/*
+we now get the unix name --metze
#define FAKE_FILE_NAME_QUOTA "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"
+*/
+#define FAKE_FILE_NAME_QUOTA "$Extend/$Quota:$Q:$INDEX_ALLOCATION"
typedef struct _FAKE_FILE_HANDLE {
enum FAKE_FILE_TYPE type;