summaryrefslogtreecommitdiffstats
path: root/source/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
commit8f3ff09283db87083a81a943909ae047cdd9e48b (patch)
treef689cd9d177932b2de2bf550d04b9b04044a237a /source/rpcclient/display.c
parent5b9be3feca26f1f20fe3f32ba90769cc78f9bb6b (diff)
downloadsamba-8f3ff09283db87083a81a943909ae047cdd9e48b.tar.gz
samba-8f3ff09283db87083a81a943909ae047cdd9e48b.tar.xz
samba-8f3ff09283db87083a81a943909ae047cdd9e48b.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)
Diffstat (limited to 'source/rpcclient/display.c')
-rw-r--r--source/rpcclient/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpcclient/display.c b/source/rpcclient/display.c
index 3a029f16a57..e9875d0c888 100644
--- a/source/rpcclient/display.c
+++ b/source/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;
}