summaryrefslogtreecommitdiffstats
path: root/source3/rpcclient/display.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-16 11:22:39 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-16 11:22:39 +0000
commit8cf023fee38be2ddc12004f51659eac5890b7311 (patch)
tree72a4e00f99e83e5d97fdb0630480e35d14aeb600 /source3/rpcclient/display.c
parent2d96e58287a89d6f2cf584ada6154eca83cf1e6b (diff)
downloadsamba-8cf023fee38be2ddc12004f51659eac5890b7311.tar.gz
samba-8cf023fee38be2ddc12004f51659eac5890b7311.tar.xz
samba-8cf023fee38be2ddc12004f51659eac5890b7311.zip
a consequence of the access_table() fixes is that we can't treat
DENY_DOS and DENY_FCB as the same thing anymore (the difference matters for *.exe files) (This used to be commit 8f3ff09283db87083a81a943909ae047cdd9e48b)
Diffstat (limited to 'source3/rpcclient/display.c')
-rw-r--r--source3/rpcclient/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/display.c b/source3/rpcclient/display.c
index 3a029f16a57..e9875d0c888 100644
--- a/source3/rpcclient/display.c
+++ b/source3/rpcclient/display.c
@@ -37,6 +37,8 @@ char *get_file_mode_str(uint32 share_mode)
case DENY_DOS : fstrcpy(mode, "DENY_DOS "); break;
case DENY_READ : fstrcpy(mode, "DENY_READ "); break;
case DENY_WRITE: fstrcpy(mode, "DENY_WRITE "); break;
+ case DENY_FCB:
+ case 0xFF: fstrcpy(mode, "DENY_FCB "); break;
default : fstrcpy(mode, "DENY_???? "); break;
}