diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-10 13:05:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-10 13:05:23 +0000 |
commit | 689ec46450a3f373b583ebe98d124ab4a99ce3ef (patch) | |
tree | 2e86c1a862fce2da5162de7a3cd45fc8611d5a38 /source3/smbd/filename.c | |
parent | c3043695ae507b34580dc1287418ff5704b6f625 (diff) | |
download | samba-689ec46450a3f373b583ebe98d124ab4a99ce3ef.tar.gz samba-689ec46450a3f373b583ebe98d124ab4a99ce3ef.tar.xz samba-689ec46450a3f373b583ebe98d124ab4a99ce3ef.zip |
the bulk of the changes to get rid of fd_ptr and move print open
handling to printing/printing.c
most of this was just replacing things like fsp->fd_ptr->fd with fsp->fd
the changes in open.c are quite dramatic. Most of it is removing all
the functions that handled the fd multiplexing
(This used to be commit d1827a3648009fd0a0d165055015d9aeda7a1037)
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 729ef8c8099..7afa9e99865 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -347,6 +347,12 @@ BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component, extern char magic_char; #endif + if (conn->printer) { + /* we don't ever use the filenames on a printer share as a + filename - so don't convert them */ + return True; + } + DEBUG(5, ("unix_convert called on file \"%s\"\n", name)); *dirpath = 0; |