Ignore:
Timestamp:
May 13, 2014, 11:39:04 AM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update trunk to 3.6.23

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/docs/manpages/vfs_catia.8

    r752 r862  
    22.\"     Title: vfs_catia
    33.\"    Author: [see the "AUTHOR" section]
    4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 10/29/2012
     4.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
     5.\"      Date: 09/18/2013
    66.\"    Manual: System Administration tools
    77.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_CATIA" "8" "10/29/2012" "Samba 3\&.6" "System Administration tools"
     10.TH "VFS_CATIA" "8" "09/18/2013" "Samba 3\&.6" "System Administration tools"
     11.\" -----------------------------------------------------------------
     12.\" * Define some portability stuff
     13.\" -----------------------------------------------------------------
     14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     15.\" http://bugs.debian.org/507673
     16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
     17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     18.ie \n(.g .ds Aq \(aq
     19.el       .ds Aq '
    1120.\" -----------------------------------------------------------------
    1221.\" * set default formatting
     
    3241The Catia CAD package commonly creates filenames that use characters that are illegal in CIFS filenames\&. The
    3342vfs_catia
    34 VFS module implements a fixed character mapping so that these files can be shared with CIFS clients\&.
     43VFS module implements a character mapping so that these files can be shared with CIFS clients\&.
    3544.PP
    3645This module is stackable\&.
     46.PP
     47Up to samba version 3\&.4\&.x a fixed character mapping was used\&. The invalid windows characters \e / : * ? " < > | and the blank character were mapped in a hardcoded way\&.
     48.PP
     49Starting with samba\-3\&.5\&.0 a more flexible mapping was introduced\&. The new parameter "catia:mappings" now specifies the mapping on a char by char basis using the notation: unix hex char 0x\&.\&. : windows hex char 0x\&.\&. Multiple character mappings are separated by a comma\&.
    3750.SH "EXAMPLES"
     51.PP
     52Samba versions up to 3\&.4\&.x:
    3853.PP
    3954Map Catia filenames on the [CAD] share:
     
    5065.RE
    5166.\}
     67.PP
     68Samba versions 3\&.5\&.0 and later:
     69.PP
     70Map Catia filenames on the [CAD] share:
     71.sp
     72.if n \{\
     73.RS 4
     74.\}
     75.nf
     76        \fI[CAD]\fR
     77        \m[blue]\fBpath = /data/cad\fR\m[]
     78        \m[blue]\fBvfs objects = catia\fR\m[]
     79        \m[blue]\fBcatia:mappings = 0x22:0xa8\fR\m[]
     80.fi
     81.if n \{\
     82.RE
     83.\}
     84.PP
     85To get the full formerly fixed mappings:
     86.sp
     87.if n \{\
     88.RS 4
     89.\}
     90.nf
     91        \fI[CAD]\fR
     92        \m[blue]\fBpath = /data/cad\fR\m[]
     93        \m[blue]\fBvfs objects = catia\fR\m[]
     94        \m[blue]\fBcatia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6,0x20:0xb1\fR\m[]
     95.fi
     96.if n \{\
     97.RE
     98.\}
     99.PP
     100Unix filename to be translated (Note that the path delimiter "/" is not used here):
     101.PP
     102a\ea:a*a?a"a<a>a|a a
     103.PP
     104Resulting windows filename:
     105.PP
     106aÿa\(dia\(Csa\(r?a\(ada\(Foa\(Fca\(bba\(+-a
     107.PP
     108Note that the character mapping must work in BOTH directions (unix \-> windows and windows \-> unix) to get unique and existing file names!
     109.PP
     110A NOT working example:
     111.sp
     112.if n \{\
     113.RS 4
     114.\}
     115.nf
     116        \fI[CAD]\fR
     117        \m[blue]\fBpath = /data/cad\fR\m[]
     118        \m[blue]\fBvfs objects = catia\fR\m[]
     119        \m[blue]\fBcatia:mappings = 0x3a:0x5f\fR\m[]
     120.fi
     121.if n \{\
     122.RE
     123.\}
     124.PP
     125Here the colon ":" is mapped to the underscore "_"\&.
     126.PP
     127Assuming a unix filename "a:should_work", which is well translated to windows as "a_should_work"\&.
     128.PP
     129BUT the reverse mapping from windows "a_should_work" to unix will result in "a:should:work" \- something like "file not found" will be returned\&.
    52130.SH "VERSION"
    53131.PP
    54 This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
     132This man page is correct for all versions up to 4\&.0\&.3 of the Samba suite\&.
    55133.SH "AUTHOR"
    56134.PP
    57135The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
     136.PP
     137New version written by Guenter Kukkukk kukks@samba\&.org
Note: See TracChangeset for help on using the changeset viewer.