Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
3 deleted
83 edited
4 copied

Legend:

Unmodified
Added
Removed
  • trunk/server

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

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "EVENTLOGADM" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "EVENTLOGADM" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2323.SH "SYNOPSIS"
    2424.HP \w'\ 'u
    25 eventlogadm [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ addsource\ \fIEVENTLOG\fR\ \fISOURCENAME\fR\ \fIMSGFILE\fR
     25eventlogadm [\fB\-s\fR] [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ addsource\ \fIEVENTLOG\fR\ \fISOURCENAME\fR\ \fIMSGFILE\fR
    2626.HP \w'\ 'u
    27 eventlogadm [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ write\ \fIEVENTLOG\fR
     27eventlogadm [\fB\-s\fR] [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ write\ \fIEVENTLOG\fR
    2828.HP \w'\ 'u
    29 eventlogadm [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ dump\ \fIEVENTLOG\fR\ \fIRECORD_NUMBER\fR
     29eventlogadm [\fB\-s\fR] [\fB\-d\fR] [\fB\-h\fR] \fB\-o\fR\ dump\ \fIEVENTLOG\fR\ \fIRECORD_NUMBER\fR
    3030.SH "DESCRIPTION"
    3131.PP
     
    3838.SH "OPTIONS"
    3939.PP
     40\fB\-s\fR \fIFILENAME\fR
     41.RS 4
     42The
     43\-s
     44option causes
     45eventlogadm
     46to load the configuration file given as FILENAME instead of the default one used by Samba\&.
     47.RE
     48.PP
    4049\fB\-d\fR
    4150.RS 4
     
    275284DAT
    276285\- This field should be left unset\&.
     286.RE
    277287.SH "EXAMPLES"
    278288.PP
  • trunk/server/docs/manpages/findsmb.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "FINDSMB" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "FINDSMB" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/idmap_ad.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_AD" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_AD" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2424.PP
    2525The idmap_ad plugin provides a way for Winbind to read id mappings from an AD server that uses RFC2307/SFU schema extensions\&. This module implements only the "idmap" API, and is READONLY\&. Mappings must be provided in advance by the administrator by adding the posixAccount/posixGroup classes and relative attribute/value pairs to the user and group objects in the AD\&.
     26.PP
     27Note that the idmap_ad module has changed considerably since Samba versions 3\&.0 and 3\&.2\&. Currently, the
     28\fIad\fR
     29backend does not work as the the default idmap backend, but one has to configure it separately for each domain for which one wants to use it, using disjoint ranges\&. One usually needs to configure a writeable default idmap range, using for example the
     30\fItdb\fR
     31or
     32\fIldap\fR
     33backend, in order to be able to map the BUILTIN sids and possibly other trusted domains\&. The writeable default config is also needed in order to be able to create group mappings\&. This catch\-all default idmap configuration should have a range that is disjoint from any explicitly configured domain with idmap backend
     34\fIad\fR\&. See the example below\&.
    2635.SH "IDMAP OPTIONS"
    2736.PP
     
    4453.nf
    4554        [global]
    46         idmap backend = tdb
    47         idmap uid = 1000000\-1999999
    48         idmap gid = 1000000\-1999999
     55        idmap config * : backend = tdb
     56        idmap config * : range = 1000000\-1999999
    4957
    5058        idmap config CORP : backend  = ad
  • trunk/server/docs/manpages/idmap_adex.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_ADEX" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_ADEX" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4040.nf
    4141        [global]
    42         idmap backend = adex
    43         idmap uid = 1000\-4000000000
    44         idmap gid = 1000\-4000000000
     42        idmap config * : backend = adex
     43        idmap config * : range = 1000\-4000000000
    4544
    4645        winbind nss info = adex
  • trunk/server/docs/manpages/idmap_hash.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_HASH" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_HASH" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4141.nf
    4242        [global]
    43         idmap backend = hash
    44         idmap uid = 1000\-4000000000
    45         idmap gid = 1000\-4000000000
     43        idmap config * : backend = hash
     44        idmap config * : range = 1000\-4000000000
    4645
    4746        winbind nss info = hash
  • trunk/server/docs/manpages/idmap_ldap.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_LDAP" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_LDAP" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2525The idmap_ldap plugin provides a means for Winbind to store and retrieve SID/uid/gid mapping tables in an LDAP directory service\&.
    2626.PP
    27 In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&. The allocator can be provided by the idmap_ldap backend itself or by any other allocating backend like idmap_tdb or idmap_tdb2\&. This is configured with the parameter
    28 \fIidmap alloc backend\fR\&.
    29 .PP
    30 Note that in order for this (or any other allocating) backend to function at all, the default backend needs to be writeable\&. The ranges used for uid and gid allocation are the default ranges configured by "idmap uid" and "idmap gid"\&.
    31 .PP
    32 Furthermore, since there is only one global allocating backend responsible for all domains using writeable idmap backends, any explicitly configured domain with idmap backend ldap should have the same range as the default range, since it needs to use the global uid / gid allocator\&. See the example below\&.
     27In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&.
    3328.SH "IDMAP OPTIONS"
    3429.PP
    3530ldap_base_dn = DN
    3631.RS 4
    37 Defines the directory base suffix to use when searching for SID/uid/gid mapping entries\&. If not defined, idmap_ldap will default to using the "ldap idmap suffix" option from smb\&.conf\&.
     32Defines the directory base suffix to use for SID/uid/gid mapping entries\&. If not defined, idmap_ldap will default to using the "ldap idmap suffix" option from smb\&.conf\&.
    3833.RE
    3934.PP
    4035ldap_user_dn = DN
    4136.RS 4
    42 Defines the user DN to be used for authentication\&. If absent an anonymous bind will be performed\&.
     37Defines the user DN to be used for authentication\&. The secret for authenticating this user should be stored with net idmap secret (see
     38\fBnet\fR(8))\&. If absent, the ldap credentials from the ldap passdb configuration are used, and if these are also absent, an anonymous bind will be performed as last fallback\&.
    4339.RE
    4440.PP
    4541ldap_url = ldap://server/
    4642.RS 4
    47 Specifies the LDAP server to use when searching for existing SID/uid/gid map entries\&. If not defined, idmap_ldap will assume that ldap://localhost/ should be used\&.
     43Specifies the LDAP server to use for SID/uid/gid map entries\&. If not defined, idmap_ldap will assume that ldap://localhost/ should be used\&.
    4844.RE
    4945.PP
    5046range = low \- high
    5147.RS 4
    52 Defines the available matching uid and gid range for which the backend is authoritative\&. If the parameter is absent, Winbind fails over to use the "idmap uid" and "idmap gid" options from smb\&.conf\&.
    53 .RE
    54 .SH "IDMAP ALLOC OPTIONS"
    55 .PP
    56 ldap_base_dn = DN
    57 .RS 4
    58 Defines the directory base suffix under which new SID/uid/gid mapping entries should be stored\&. If not defined, idmap_ldap will default to using the "ldap idmap suffix" option from smb\&.conf\&.
    59 .RE
    60 .PP
    61 ldap_user_dn = DN
    62 .RS 4
    63 Defines the user DN to be used for authentication\&. If absent an anonymous bind will be performed\&.
    64 .RE
    65 .PP
    66 ldap_url = ldap://server/
    67 .RS 4
    68 Specifies the LDAP server to which modify/add/delete requests should be sent\&. If not defined, idmap_ldap will assume that ldap://localhost/ should be used\&.
     48Defines the available matching uid and gid range for which the backend is authoritative\&.
    6949.RE
    7050.SH "EXAMPLES"
    7151.PP
    72 The follow sets of a LDAP configuration which uses two LDAP directories, one for storing the ID mappings and one for retrieving new IDs\&.
     52The following example shows how an ldap directory is used as the default idmap backend\&. It also configures the idmap range and base directory suffix\&. The secret for the ldap_user_dn has to be set with "net idmap secret \'*\' password"\&.
    7353.sp
    7454.if n \{\
     
    7757.nf
    7858        [global]
    79         idmap backend = ldap:ldap://localhost/
    80         idmap uid = 1000000\-1999999
    81         idmap gid = 1000000\-1999999
     59        idmap config * : backend      = ldap
     60        idmap config * : range        = 1000000\-1999999
     61        idmap config * : ldap_url     = ldap://localhost/
     62        idmap config * : ldap_base_dn = ou=idmap,dc=example,dc=com
     63        idmap config * : ldap_user_dn = cn=idmap_admin,dc=example,dc=com
     64       
     65.fi
     66.if n \{\
     67.RE
     68.\}
     69.PP
     70This example shows how ldap can be used as a readonly backend while tdb is the default backend used to store the mappings\&. It adds an explicit configuration for some domain DOM1, that uses the ldap idmap backend\&. Note that a range disjoint from the default range is used\&.
     71.sp
     72.if n \{\
     73.RS 4
     74.\}
     75.nf
     76        [global]
     77        # "backend = tdb" is redundant here since it is the default
     78        idmap config * : backend = tdb
     79        idmap config * : range = 1000000\-1999999
    8280
    83         idmap alloc backend = ldap
    84         idmap alloc config : ldap_url   = ldap://id\-master/
    85         idmap alloc config : ldap_base_dn = ou=idmap,dc=example,dc=com
     81        idmap config DOM1 : backend = ldap
     82        idmap config DOM1 : range = 2000000\-2999999
     83        idmap config DOM1 : read only = yes
     84        idmap config DOM1 : ldap_url = ldap://server/
     85        idmap config DOM1 : ldap_base_dn = ou=idmap,dc=dom1,dc=example,dc=com
     86        idmap config DOM1 : ldap_user_dn = cn=idmap_admin,dc=dom1,dc=example,dc=com
    8687       
    8788.fi
  • trunk/server/docs/manpages/idmap_nss.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_NSS" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_NSS" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    3333.nf
    3434        [global]
    35         idmap backend = tdb
    36         idmap uid = 1000000\-1999999
    37         idmap gid = 1000000\-1999999
     35        idmap config * : backend = tdb
     36        idmap config * : range = 1000000\-1999999
    3837
    3938        idmap config SAMBA : backend  = nss
  • trunk/server/docs/manpages/idmap_rid.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_RID" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_RID" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2424.PP
    2525The idmap_rid backend provides a way to use an algorithmic mapping scheme to map UIDs/GIDs and SIDs\&. No database is required in this case as the mapping is deterministic\&.
     26.PP
     27Note that the idmap_rid module has changed considerably since Samba versions 3\&.0\&. and 3\&.2\&. Currently, there should to be an explicit idmap configuration for each domain that should use the idmap_rid backend, using disjoint ranges\&. One usually needs to define a writeable default idmap range, using a backent like
     28\fItdb\fR
     29or
     30\fIldap\fR
     31that can create unix ids, in order to be able to map the BUILTIN sids and other domains, and also in order to be able to create group mappings\&. See the example below\&.
     32.PP
     33Note that the old syntax
     34\fIidmap backend = rid:"DOM1=range DOM2=range2 \&.\&.\&."\fR
     35is not supported any more since Samba version 3\&.0\&.25\&.
    2636.SH "IDMAP OPTIONS"
    2737.PP
     
    7787        workgroup = MAIN
    7888
    79         idmap backend = tdb
    80         idmap uid = 1000000\-1999999
    81         idmap gid = 1000000\-1999999
     89        idmap config * : backend        = tdb
     90        idmap config * : range          = 1000000\-1999999
    8291
    8392        idmap config MAIN : backend     = rid
  • trunk/server/docs/manpages/idmap_tdb.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_TDB" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_TDB" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2525The idmap_tdb plugin is the default backend used by winbindd for storing SID/uid/gid mapping tables\&.
    2626.PP
    27 In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&. The allocator can be provided by the idmap_tdb backend itself or by any other allocating backend like idmap_ldap or idmap_tdb2\&. This is configured with the parameter
    28 \fIidmap alloc backend\fR\&.
    29 .PP
    30 Note that in order for this (or any other allocating) backend to function at all, the default backend needs to be writeable\&. The ranges used for uid and gid allocation are the default ranges configured by "idmap uid" and "idmap gid"\&.
    31 .PP
    32 Furthermore, since there is only one global allocating backend responsible for all domains using writeable idmap backends, any explicitly configured domain with idmap backend tdb should have the same range as the default range, since it needs to use the global uid / gid allocator\&. See the example below\&.
     27In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&.
    3328.SH "IDMAP OPTIONS"
    3429.PP
    3530range = low \- high
    3631.RS 4
    37 Defines the available matching uid and gid range for which the backend is authoritative\&. If the parameter is absent, Winbind fails over to use the "idmap uid" and "idmap gid" options from smb\&.conf\&.
     32Defines the available matching uid and gid range for which the backend is authoritative\&.
    3833.RE
    3934.SH "EXAMPLES"
    4035.PP
    41 This example shows how tdb is used as a the default idmap backend\&. It configures the idmap range through the global options for all domains encountered\&. This same range is used for uid/gid allocation\&.
     36This example shows how tdb is used as a the default idmap backend\&. This configured range is used for uid and gid allocation\&.
    4237.sp
    4338.if n \{\
     
    4641.nf
    4742        [global]
    48         # "idmap backend = tdb" is redundant here since it is the default
    49         idmap backend = tdb
    50         idmap uid = 1000000\-2000000
    51         idmap gid = 1000000\-2000000
    52        
    53 .fi
    54 .if n \{\
    55 .RE
    56 .\}
    57 .PP
    58 This (rather theoretical) example shows how tdb can be used as the allocating backend while ldap is the default backend used to store the mappings\&. It adds an explicit configuration for some domain DOM1, that uses the tdb idmap backend\&. Note that the same range as the default uid/gid range is used, since the allocator has to serve both the default backend and the explicitly configured domain DOM1\&.
    59 .sp
    60 .if n \{\
    61 .RS 4
    62 .\}
    63 .nf
    64         [global]
    65         idmap backend = ldap
    66         idmap uid = 1000000\-2000000
    67         idmap gid = 1000000\-2000000
    68         # use a different uid/gid allocator:
    69         idmap alloc backend = tdb
    70 
    71         idmap config DOM1 : backend = tdb
    72         idmap config DOM1 : range = 1000000\-2000000
     43        # "backend = tdb" is redundant here since it is the default
     44        idmap config * : backend = tdb
     45        idmap config * : range = 1000000\-2000000
    7346       
    7447.fi
  • trunk/server/docs/manpages/idmap_tdb2.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "IDMAP_TDB2" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "IDMAP_TDB2" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2525The idmap_tdb2 plugin is a substitute for the default idmap_tdb backend used by winbindd for storing SID/uid/gid mapping tables in clustered environments with Samba and CTDB\&.
    2626.PP
    27 In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&. The allocator can be provided by the idmap_tdb2 backend itself or by any other allocating backend like idmap_tdb or idmap_ldap\&. This is configured with the parameter
    28 \fIidmap alloc backend\fR\&.
    29 .PP
    30 Note that in order for this (or any other allocating) backend to function at all, the default backend needs to be writeable\&. The ranges used for uid and gid allocation are the default ranges configured by "idmap uid" and "idmap gid"\&.
    31 .PP
    32 Furthermore, since there is only one global allocating backend responsible for all domains using writeable idmap backends, any explicitly configured domain with idmap backend tdb2 should have the same range as the default range, since it needs to use the global uid / gid allocator\&. See the example below\&.
     27In contrast to read only backends like idmap_rid, it is an allocating backend: This means that it needs to allocate new user and group IDs in order to create new mappings\&.
    3328.SH "IDMAP OPTIONS"
    3429.PP
    3530range = low \- high
    3631.RS 4
    37 Defines the available matching uid and gid range for which the backend is authoritative\&. If the parameter is absent, Winbind fails over to use the "idmap uid" and "idmap gid" options from smb\&.conf\&.
     32Defines the available matching uid and gid range for which the backend is authoritative\&.
     33.RE
     34.PP
     35script
     36.RS 4
     37This option can be used to configure an external program for performing id mappings instead of using the tdb counter\&. The mappings are then stored int tdb2 idmap database\&. For details see the section on IDMAP SCRIPT below\&.
    3838.RE
    3939.SH "IDMAP SCRIPT"
    4040.PP
    41 The tdb2 idmap backend supports a script for performing id mappings through the smb\&.conf option
    42 \fIidmap : script\fR\&. The script should accept the following command line options\&.
     41The tdb2 idmap backend supports an external program for performing id mappings through the smb\&.conf option
     42\fIidmap config * : script\fR
     43or its deprecated legacy form
     44\fIidmap : script\fR\&.
     45.PP
     46The mappings obtained by the script are then stored in the idmap tdb2 database instead of mappings created by the incrementing id counters\&. It is therefore important that the script covers the complete range of SIDs that can be passed in for SID to Unix ID mapping, since otherwise SIDs unmapped by the script might get mapped to IDs that had previously been mapped by the script\&.
     47.PP
     48The script should accept the following command line options\&.
    4349.sp
    4450.if n \{\
     
    7076.RE
    7177.\}
    72 .PP
    73 Note that the script should cover the complete range of SIDs that can be passed in for SID to Unix ID mapping, since otherwise SIDs unmapped by the script might get mapped to IDs that had previously been mapped by the script\&.
    7478.SH "EXAMPLES"
    7579.PP
    76 This example shows how tdb2 is used as a the default idmap backend\&. It configures the idmap range through the global options for all domains encountered\&. This same range is used for uid/gid allocation\&.
     80This example shows how tdb2 is used as a the default idmap backend\&.
    7781.sp
    7882.if n \{\
     
    8185.nf
    8286        [global]
    83         idmap backend = tdb2
    84         idmap uid = 1000000\-2000000
    85         idmap gid = 1000000\-2000000
     87        idmap config * : backend = tdb2
     88        idmap config * : range = 1000000\-2000000
     89       
     90.fi
     91.if n \{\
     92.RE
     93.\}
     94.PP
     95This example shows how tdb2 is used as a the default idmap backend using an external program via the script parameter:
     96.sp
     97.if n \{\
     98.RS 4
     99.\}
     100.nf
     101        [global]
     102        idmap config * : backend = tdb2
     103        idmap config * : range = 1000000\-2000000
     104        idmap config * : script = /usr/local/samba/bin/idmap_script\&.sh
    86105       
    87106.fi
  • trunk/server/docs/manpages/ldb.3

    r620 r745  
    33.\"    Author: [see the "Author" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: C Library Functions
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDB" "3" "08/02/2011" "Samba 3\&.5" "C Library Functions"
     10.TH "LDB" "3" "06/07/2011" "Samba 3\&.6" "C Library Functions"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    104104ldbmodify(1)
    105105\- modify records in a ldb database using LDIF formatted input
     106.RE
    106107.SH "FUNCTIONS"
    107108.sp
     
    429430\fBldb_set_debug_stderr(3)\fR
    430431\- set a debug handler for stderr output
     432.RE
    431433.SH "AUTHOR"
    432434.PP
  • trunk/server/docs/manpages/ldbadd.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDBADD" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LDBADD" "1" "06/07/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4848.SH "VERSION"
    4949.PP
    50 This man page is correct for version 4\&.0 of the Samba suite\&.
     50This man page is correct for version 3\&.6 of the Samba suite\&.
    5151.SH "SEE ALSO"
    5252.PP
  • trunk/server/docs/manpages/ldbdel.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDBDEL" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LDBDEL" "1" "06/07/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4848.SH "VERSION"
    4949.PP
    50 This man page is correct for version 4\&.0 of the Samba suite\&.
     50This man page is correct for version 3\&.6 of the Samba suite\&.
    5151.SH "SEE ALSO"
    5252.PP
  • trunk/server/docs/manpages/ldbedit.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDBEDIT" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LDBEDIT" "1" "06/07/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    8181.SH "VERSION"
    8282.PP
    83 This man page is correct for version 4\&.0 of the Samba suite\&.
     83This man page is correct for version 3\&.6 of the Samba suite\&.
    8484.SH "SEE ALSO"
    8585.PP
  • trunk/server/docs/manpages/ldbmodify.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDBMODIFY" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LDBMODIFY" "1" "06/07/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4343.SH "VERSION"
    4444.PP
    45 This man page is correct for version 4\&.0 of the Samba suite\&.
     45This man page is correct for version 3\&.6 of the Samba suite\&.
    4646.SH "SEE ALSO"
    4747.PP
  • trunk/server/docs/manpages/ldbrename.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDBRENAME" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LDBRENAME" "1" "06/07/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    5151.SH "VERSION"
    5252.PP
    53 This man page is correct for version 4\&.0 of the Samba suite\&.
     53This man page is correct for version 3\&.6 of the Samba suite\&.
    5454.SH "SEE ALSO"
    5555.PP
  • trunk/server/docs/manpages/ldbsearch.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 06/07/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LDBSEARCH" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LDBSEARCH" "1" "06/07/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    6161.SH "VERSION"
    6262.PP
    63 This man page is correct for version 4\&.0 of the Samba suite\&.
     63This man page is correct for version 3\&.6 of the Samba suite\&.
    6464.SH "SEE ALSO"
    6565.PP
  • trunk/server/docs/manpages/libsmbclient.7

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: 7
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LIBSMBCLIENT" "7" "08/02/2011" "Samba 3\&.5" "7"
     10.TH "LIBSMBCLIENT" "7" "08/08/2011" "Samba 3\&.6" "7"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/lmhosts.5

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: File Formats and Conventions
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LMHOSTS" "5" "08/02/2011" "Samba 3\&.5" "File Formats and Conventions"
     10.TH "LMHOSTS" "5" "08/08/2011" "Samba 3\&.6" "File Formats and Conventions"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    6565.sp
    6666If the trailing \'#\' is omitted then the given IP address will be returned for all names that match the given name, whatever the NetBIOS name type in the lookup\&.
     67.RE
    6768.sp
    6869.RE
  • trunk/server/docs/manpages/log2pcap.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "LOG2PCAP" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "LOG2PCAP" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/net.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "NET" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "NET" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    468468.\}
    469469comment \- Freeform text description of the group
     470.RE
    470471.sp
    471472.RE
     
    550551.PP
    551552List all interdomain trust relationships\&.
     553.SS "RPC TRUSTDOM LIST"
     554.PP
     555List all interdomain trust relationships\&.
     556.SS "RPC TRUST"
     557.SS "RPC TRUST CREATE"
     558.PP
     559Create a trust trust object by calling lsaCreateTrustedDomainEx2\&. The can be done on a single server or on two servers at once with the possibility to use a random trust password\&.
     560.PP
     561\fBOptions:\fR
     562.PP
     563otherserver
     564.RS 4
     565Domain controller of the second domain
     566.RE
     567.PP
     568otheruser
     569.RS 4
     570Admin user in the second domain
     571.RE
     572.PP
     573otherdomainsid
     574.RS 4
     575SID of the second domain
     576.RE
     577.PP
     578other_netbios_domain
     579.RS 4
     580NetBIOS (short) name of the second domain
     581.RE
     582.PP
     583otherdomain
     584.RS 4
     585DNS (full) name of the second domain
     586.RE
     587.PP
     588trustpw
     589.RS 4
     590Trust password
     591.RE
     592.PP
     593\fBExamples:\fR
     594.PP
     595Create a trust object on srv1\&.dom1\&.dom for the domain dom2
     596.RS 4
     597.sp
     598.if n \{\
     599.RS 4
     600.\}
     601.nf
     602net rpc trust create \e
     603    otherdomainsid=S\-x\-x\-xx\-xxxxxxxxxx\-xxxxxxxxxx\-xxxxxxxxx \e
     604    other_netbios_domain=dom2 \e
     605    otherdomain=dom2\&.dom \e
     606    trustpw=12345678 \e
     607    \-S srv1\&.dom1\&.dom
     608.fi
     609.if n \{\
     610.RE
     611.\}
     612.RE
     613.PP
     614Create a trust relationship between dom1 and dom2
     615.RS 4
     616.sp
     617.if n \{\
     618.RS 4
     619.\}
     620.nf
     621net rpc trust create \e
     622    otherserver=srv2\&.dom2\&.test \e
     623    otheruser=dom2adm \e
     624    \-S srv1\&.dom1\&.dom
     625.fi
     626.if n \{\
     627.RE
     628.\}
     629.RE
     630.SS "RPC TRUST DELETE"
     631.PP
     632Delete a trust trust object by calling lsaDeleteTrustedDomain\&. The can be done on a single server or on two servers at once\&.
     633.PP
     634\fBOptions:\fR
     635.PP
     636otherserver
     637.RS 4
     638Domain controller of the second domain
     639.RE
     640.PP
     641otheruser
     642.RS 4
     643Admin user in the second domain
     644.RE
     645.PP
     646otherdomainsid
     647.RS 4
     648SID of the second domain
     649.RE
     650.PP
     651\fBExamples:\fR
     652.PP
     653Delete a trust object on srv1\&.dom1\&.dom for the domain dom2
     654.RS 4
     655.sp
     656.if n \{\
     657.RS 4
     658.\}
     659.nf
     660net rpc trust delete \e
     661    otherdomainsid=S\-x\-x\-xx\-xxxxxxxxxx\-xxxxxxxxxx\-xxxxxxxxx \e
     662    \-S srv1\&.dom1\&.dom
     663.fi
     664.if n \{\
     665.RE
     666.\}
     667.RE
     668.PP
     669Delete a trust relationship between dom1 and dom2
     670.RS 4
     671.sp
     672.if n \{\
     673.RS 4
     674.\}
     675.nf
     676net rpc trust delete \e
     677    otherserver=srv2\&.dom2\&.test \e
     678    otheruser=dom2adm \e
     679    \-S srv1\&.dom1\&.dom
     680.fi
     681.if n \{\
     682.RE
     683.\}
     684.RE
     685.SS ""
    552686.SS "RPC RIGHTS"
    553687.PP
     
    726860.PP
    727861Restore the mappings from the specified file or stdin\&.
    728 .SS "IDMAP SECRET <DOMAIN>|ALLOC <secret>"
     862.SS "IDMAP SECRET <DOMAIN> <secret>"
    729863.PP
    730864Store a secret for the specified domain, used primarily for domains that use idmap_ldap as a backend\&. In this case the secret is used as the password for the user DN used to bind to the ldap server\&.
     865.SS "IDMAP DELETE [\-f] [\-\-db=<DB>] <ID>"
     866.PP
     867Delete a mapping sid <\-> gid or sid <\-> uid from the IDMAP database\&. The mapping is given by <ID> which may either be a sid: S\-x\-\&.\&.\&., a gid: "GID number" or a uid: "UID number"\&. Use \-f to delete an invalid partial mapping <ID> \-> xx
     868.PP
     869Use "smbcontrol all idmap \&.\&.\&." to notify running smbd instances\&. See the
     870\fBsmbcontrol\fR(1)
     871manpage for details\&.
     872.SS "IDMAP CHECK [\-v] [\-r] [\-a] [\-T] [\-f] [\-l] [\-\-db=<DB>]"
     873.PP
     874Check and repair the IDMAP database\&. If no option is given a read only check of the database is done\&. Among others an interactive or automatic repair mode may be chosen with one of the following options:
     875.PP
     876\-r|\-\-repair
     877.RS 4
     878Interactive repair mode, ask a lot of questions\&.
     879.RE
     880.PP
     881\-a|\-\-auto
     882.RS 4
     883Noninteractive repair mode, use default answers\&.
     884.RE
     885.PP
     886\-v|\-\-verbose
     887.RS 4
     888Produce more output\&.
     889.RE
     890.PP
     891\-f|\-\-force
     892.RS 4
     893Try to apply changes, even if they do not apply cleanly\&.
     894.RE
     895.PP
     896\-T|\-\-test
     897.RS 4
     898Dry run, show what changes would be made but don\'t touch anything\&.
     899.RE
     900.PP
     901\-l|\-\-lock
     902.RS 4
     903Lock the database while doing the check\&.
     904.RE
     905.PP
     906\-\-db <DB>
     907.RS 4
     908Check the specified database\&.
     909.RE
     910.PP
     911.RS 4
     912.RE
     913It reports about the finding of the following errors:
     914.PP
     915Missing reverse mapping:
     916.RS 4
     917A record with mapping A\->B where there is no B\->A\&. Default action in repair mode is to "fix" this by adding the reverse mapping\&.
     918.RE
     919.PP
     920Invalid mapping:
     921.RS 4
     922A record with mapping A\->B where B\->C\&. Default action is to "delete" this record\&.
     923.RE
     924.PP
     925Missing or invalid HWM:
     926.RS 4
     927A high water mark is not at least equal to the largest ID in the database\&. Default action is to "fix" this by setting it to the largest ID found +1\&.
     928.RE
     929.PP
     930Invalid record:
     931.RS 4
     932Something we failed to parse\&. Default action is to "edit" it in interactive and "delete" it in automatic mode\&.
     933.RE
    731934.SS "USERSHARE"
    732935.PP
     
    8901093.PP
    8911094Delete the list of includes from the provided section (global or share)\&.
     1095.SS "REGISTRY"
     1096.PP
     1097Manipulate Samba\'s registry\&.
     1098.PP
     1099The registry commands are:
     1100.RS 4
     1101net registry enumerate   \- Enumerate registry keys and values\&.
     1102.RE
     1103.RS 4
     1104net registry enumerate_recursive \- Enumerate registry key and its subkeys\&.
     1105.RE
     1106.RS 4
     1107net registry createkey   \- Create a new registry key\&.
     1108.RE
     1109.RS 4
     1110net registry deletekey   \- Delete a registry key\&.
     1111.RE
     1112.RS 4
     1113net registry deletekey_recursive \- Delete a registry key with subkeys\&.
     1114.RE
     1115.RS 4
     1116net registry getvalue    \- Print a registry value\&.
     1117.RE
     1118.RS 4
     1119net registry getvalueraw \- Print a registry value (raw format)\&.
     1120.RE
     1121.RS 4
     1122net registry setvalue    \- Set a new registry value\&.
     1123.RE
     1124.RS 4
     1125net registry increment   \- Increment a DWORD registry value under a lock\&.
     1126.RE
     1127.RS 4
     1128net registry deletevalue \- Delete a registry value\&.
     1129.RE
     1130.RS 4
     1131net registry getsd       \- Get security descriptor\&.
     1132.RE
     1133.RS 4
     1134net registry getsd_sdd1  \- Get security descriptor in sddl format\&.
     1135.RE
     1136.RS 4
     1137net registry setsd_sdd1  \- Set security descriptor from sddl format
     1138string\&.
     1139.RE
     1140.RS 4
     1141net registry import      \- Import a registration entries (\&.reg) file\&.
     1142.RE
     1143.RS 4
     1144net registry export      \- Export a registration entries (\&.reg) file\&.
     1145.RE
     1146.RS 4
     1147net registry convert     \- Convert a registration entries (\&.reg) file\&.
     1148.RE
     1149.SS "REGISTRY ENUMERATE key "
     1150.PP
     1151Enumerate subkeys and values of
     1152\fIkey\fR\&.
     1153.SS "REGISTRY ENUMERATE_RECURSIVE key "
     1154.PP
     1155Enumerate values of
     1156\fIkey\fR
     1157and its subkeys\&.
     1158.SS "REGISTRY CREATEKEY key "
     1159.PP
     1160Create a new
     1161\fIkey\fR
     1162if not yet existing\&.
     1163.SS "REGISTRY DELETEKEY key "
     1164.PP
     1165Delete the given
     1166\fIkey\fR
     1167and its values from the registry, if it has no subkeys\&.
     1168.SS "REGISTRY DELETEKEY_RECURSIVE key "
     1169.PP
     1170Delete the given
     1171\fIkey\fR
     1172and all of its subkeys and values from the registry\&.
     1173.SS "REGISTRY GETVALUE key name"
     1174.PP
     1175Output type and actual value of the value
     1176\fIname\fR
     1177of the given
     1178\fIkey\fR\&.
     1179.SS "REGISTRY GETVALUERAW key name"
     1180.PP
     1181Output the actual value of the value
     1182\fIname\fR
     1183of the given
     1184\fIkey\fR\&.
     1185.SS "REGISTRY SETVALUE key name type value ..."
     1186.PP
     1187Set the value
     1188\fIname\fR
     1189of an existing
     1190\fIkey\fR\&.
     1191\fItype\fR
     1192may be one of
     1193\fIsz\fR,
     1194\fImulti_sz\fR
     1195or
     1196\fIdword\fR\&. In case of
     1197\fImulti_sz\fR
     1198\fIvalue\fR
     1199may be given multiple times\&.
     1200.SS "REGISTRY INCREMENT key name [inc]"
     1201.PP
     1202Increment the DWORD value
     1203\fIname\fR
     1204of
     1205\fIkey\fR
     1206by
     1207\fIinc\fR
     1208while holding a g_lock\&.
     1209\fIinc\fR
     1210defaults to 1\&.
     1211.SS "REGISTRY DELETEVALUE key name"
     1212.PP
     1213Delete the value
     1214\fIname\fR
     1215of the given
     1216\fIkey\fR\&.
     1217.SS "REGISTRY GETSD key"
     1218.PP
     1219Get the security descriptor of the given
     1220\fIkey\fR\&.
     1221.SS "REGISTRY GETSD_SDDL key"
     1222.PP
     1223Get the security descriptor of the given
     1224\fIkey\fR
     1225as a Security Descriptor Definition Language (SDDL) string\&.
     1226.SS "REGISTRY SETSD_SDDL keysd"
     1227.PP
     1228Set the security descriptor of the given
     1229\fIkey\fR
     1230from a Security Descriptor Definition Language (SDDL) string
     1231\fIsd\fR\&.
     1232.SS "REGISTRY IMPORT file[opt]"
     1233.PP
     1234Import a registration entries (\&.reg)
     1235\fIfile\fR\&.
     1236.SS "REGISTRY EXPORT keyfile[opt]"
     1237.PP
     1238Export a
     1239\fIkey\fR
     1240to a registration entries (\&.reg)
     1241\fIfile\fR\&.
     1242.SS "REGISTRY CONVERT in out [[inopt] outopt]"
     1243.PP
     1244Convert a registration entries (\&.reg) file
     1245\fIin\fR\&.
    8921246.SS "EVENTLOG"
    8931247.PP
     
    10241378\fIREBOOT\fR
    10251379is an optional parameter that can be set to reboot the remote machine after successful join to the domain\&.
     1380.RE
    10261381.sp
    10271382.RE
     
    10711426\fIREBOOT\fR
    10721427is an optional parameter that can be set to reboot the remote machine after successful unjoin from the domain\&.
     1428.RE
    10731429.sp
    10741430.RE
     
    11301486\fIREBOOT\fR
    11311487is an optional parameter that can be set to reboot the remote machine after successful rename in the domain\&.
     1488.RE
    11321489.sp
    11331490.RE
     
    11801537\fICOMMAND\fR
    11811538defines the shell command to execute\&.
     1539.RE
    11821540.SS "G_LOCK LOCKS"
    11831541.PP
  • trunk/server/docs/manpages/nmbd.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "NMBD" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "NMBD" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/nmblookup.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "NMBLOOKUP" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "NMBLOOKUP" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/ntlm_auth.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "NTLM_AUTH" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "NTLM_AUTH" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    112112indicates that one side has finished supplying data to the other\&. (Which in turn could cause the helper to authenticate the user)\&.
    113113.sp
    114 Curently implemented parameters from the external program to the helper are:
     114Currently implemented parameters from the external program to the helper are:
    115115.PP
    116116Username
  • trunk/server/docs/manpages/pam_winbind.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: 8
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "PAM_WINBIND" "8" "08/02/2011" "Samba 3\&.5" "8"
     10.TH "PAM_WINBIND" "8" "08/08/2011" "Samba 3\&.6" "8"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/pam_winbind.conf.5

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: 5
    77.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "PAM_WINBIND\&.CONF" "5" "08/02/2011" "Samba 3\&.6" "5"
     10.TH "PAM_WINBIND\&.CONF" "5" "08/08/2011" "Samba 3\&.6" "5"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/pdbedit.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "PDBEDIT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "PDBEDIT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    317317.\}
    318318I: Domain Trust Account
     319.RE
    319320.sp
    320321.RE
  • trunk/server/docs/manpages/profiles.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "PROFILES" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "PROFILES" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/rpcclient.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "RPCCLIENT" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "RPCCLIENT" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4242.RE
    4343.PP
    44 \-c|\-\-command=\'command string\'
    45 .RS 4
    46 execute semicolon separated commands (listed below))
     44\-c|\-\-command=<command string>
     45.RS 4
     46Execute semicolon separated commands (listed below)
    4747.RE
    4848.PP
     
    466466.RE
    467467.PP
    468 deldriver
     468deldriver <driver>
    469469.RS 4
    470470Delete the specified printer driver for all architectures\&. This does not delete the actual driver files from the server, only the entry from the server\'s list of drivers\&.
  • trunk/server/docs/manpages/samba.7

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: Miscellanea
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SAMBA" "7" "08/02/2011" "Samba 3\&.5" "Miscellanea"
     10.TH "SAMBA" "7" "08/08/2011" "Samba 3\&.6" "Miscellanea"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/sharesec.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SHARESEC" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SHARESEC" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    211211\fIO\fR
    212212\- Take ownership
     213.RE
    213214.sp
    214215.RE
     
    250251\fIFULL\fR
    251252\- Equivalent to \'RWXDPO\' permissions
     253.RE
    252254.SH "EXIT STATUS"
    253255.PP
  • trunk/server/docs/manpages/smb.conf.5

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: File Formats and Conventions
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMB\&.CONF" "5" "08/02/2011" "Samba 3\&.5" "File Formats and Conventions"
     10.TH "SMB\&.CONF" "5" "08/08/2011" "Samba 3\&.6" "File Formats and Conventions"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    149149.\}
    150150If no path was given, the path is set to the user\'s home directory\&.
     151.RE
    151152.sp
    152153.RE
     
    236237.\}
    237238If the share does not permit guest access and no username was given, the username is set to the located printer name\&.
     239.RE
    238240.sp
    239241.RE
     
    456458%a
    457459.RS 4
    458 The architecture of the remote machine\&. It currently recognizes Samba (\fBSamba\fR), the Linux CIFS file system (\fBCIFSFS\fR), OS/2, (\fBOS2\fR), Windows for Workgroups (\fBWfWg\fR), Windows 9x/ME (\fBWin95\fR), Windows NT (\fBWinNT\fR), Windows 2000 (\fBWin2K\fR), Windows XP (\fBWinXP\fR), Windows XP 64\-bit(\fBWinXP64\fR), Windows 2003 including 2003R2 (\fBWin2K3\fR), and Windows Vista (\fBVista\fR)\&. Anything else will be known as
     460The architecture of the remote machine\&. It currently recognizes Samba (\fBSamba\fR), the Linux CIFS file system (\fBCIFSFS\fR), OS/2, (\fBOS2\fR), Mac OS X (\fBOSX\fR), Windows for Workgroups (\fBWfWg\fR), Windows 9x/ME (\fBWin95\fR), Windows NT (\fBWinNT\fR), Windows 2000 (\fBWin2K\fR), Windows XP (\fBWinXP\fR), Windows XP 64\-bit(\fBWinXP64\fR), Windows 2003 including 2003R2 (\fBWin2K3\fR), and Windows Vista (\fBVista\fR)\&. Anything else will be known as
    459461\fBUNKNOWN\fR\&.
    460462.RE
     
    463465.RS 4
    464466the IP address of the client machine\&.
     467.sp
     468Before 3\&.6\&.0 it could contain IPv4 mapped IPv6 addresses, now it only contains IPv4 or IPv6 addresses\&.
    465469.RE
    466470.PP
     
    468472.RS 4
    469473the local IP address to which a client connected\&.
     474.sp
     475Before 3\&.6\&.0 it could contain IPv4 mapped IPv6 addresses, now it only contains IPv4 or IPv6 addresses\&.
    470476.RE
    471477.PP
     
    555561.RS 4
    556562controls what the default case is for new filenames (ie\&. files that don\'t currently exist in the filesystem)\&. Default
    557 \fIlower\fR\&. IMPORTANT NOTE: This option will be used to modify the case of
     563\fIlower\fR\&. IMPORTANT NOTE: As part of the optimizations for directories containing large numbers of files, the following special case applies\&. If the options
     564\m[blue]\fBcase sensitive = yes\fR\m[],
     565\m[blue]\fBpreserve case = No\fR\m[], and
     566\m[blue]\fBshort preserve case = No\fR\m[]
     567are set, then the case of
    558568\fIall\fR
    559 incoming client filenames, not just new filenames if the options
    560 \m[blue]\fBcase sensitive = yes\fR\m[],
    561 \m[blue]\fBpreserve case = No\fR\m[],
    562 \m[blue]\fBshort preserve case = No\fR\m[]
    563 are set\&. This change is needed as part of the optimisations for directories containing large numbers of files\&.
     569incoming client filenames, not just new filenames, will be modified\&. See additional notes below\&.
    564570.RE
    565571.PP
     
    909915.\}
    910916\fIdevice URI\fR
    911 .sp
    912 .RE
    913 The deviceURI is in the for of socket://<hostname>[:<portnumber>] or lpd://<hostname>/<queuename>\&.
     917.RE
     918.sp
     919.RE
     920The deviceURI is in the format of socket://<hostname>[:<portnumber>] or lpd://<hostname>/<queuename>\&.
    914921.sp
    915922Default:
     
    10011008.\}
    10021009\fIWindows 9x driver location\fR
     1010.RE
    10031011.sp
    10041012.RE
     
    11091117\fImax connections\fR
    11101118Number of maximum simultaneous connections to this share\&.
     1119.RE
    11111120.sp
    11121121.RE
     
    13971406Example:
    13981407\fI\fIannounce version\fR\fR\fI = \fR\fI2\&.0\fR\fI \fR
     1408.RE
     1409
     1410async smb echo handler (G)
     1411.\" async smb echo handler
     1412.PP
     1413.RS 4
     1414This parameter specifies whether Samba should fork the async smb echo handler\&. It can be beneficial if your file system can block syscalls for a very long time\&. In some circumstances, it prolongs the timeout that Windows uses to determine whether a connection is dead\&.
     1415.sp
     1416Default:
     1417\fI\fIasync smb echo handler\fR\fR\fI = \fR\fIno\fR\fI \fR
    13991418.RE
    14001419
     
    17421761\fImax connections\fR
    17431762Number of maximum simultaneous connections to this share\&.
     1763.RE
    17441764.sp
    17451765.RE
     
    18391859will attempt to authenticate itself to servers using the NTLMv2 encrypted password response\&.
    18401860.sp
    1841 If enabled, only an NTLMv2 and LMv2 response (both much more secure than earlier versions) will be sent\&. Many servers (including NT4 < SP4, Win9x and Samba 2\&.2) are not compatible with NTLMv2\&.
     1861If enabled, only an NTLMv2 and LMv2 response (both much more secure than earlier versions) will be sent\&. Older servers (including NT4 < SP4, Win9x and Samba 2\&.2) are not compatible with NTLMv2 when not in an NTLMv2 supporting domain
    18421862.sp
    18431863Similarly, if enabled, NTLMv1,
     
    18501870client lanman auth\&.
    18511871.sp
    1852 Note that some sites (particularly those following \'best practice\' security polices) only allow NTLMv2 responses, and not the weaker LM or NTLM\&.
    1853 .sp
    1854 Default:
    1855 \fI\fIclient ntlmv2 auth\fR\fR\fI = \fR\fIno\fR\fI \fR
     1872Note that Windows Vista and later versions already use NTLMv2 by default, and some sites (particularly those following \'best practice\' security polices) only allow NTLMv2 responses, and not the weaker LM or NTLM\&.
     1873.sp
     1874Default:
     1875\fI\fIclient ntlmv2 auth\fR\fR\fI = \fR\fIyes\fR\fI \fR
    18561876.RE
    18571877
     
    21202140.RE
    21212141
     2142ctdb locktime warn threshold (G)
     2143.\" ctdb locktime warn threshold
     2144.PP
     2145.RS 4
     2146In a cluster environment using Samba and ctdb it is critical that locks on central ctdb\-hosted databases like locking\&.tdb are not held for long\&. With the current Samba architecture it happens that Samba takes a lock and while holding that lock makes file system calls into the shared cluster file system\&. This option makes Samba warn if it detects that it has held locks for the specified number of milliseconds\&. If this happens,
     2147\fIsmbd\fR
     2148will emit a debug level 0 message into its logs and potentially into syslog\&. The most likely reason for such a log message is that an operation of the cluster file system Samba exports is taking longer than expected\&. The messages are meant as a debugging aid for potential cluster problems\&.
     2149.sp
     2150The default value of 0 disables this logging\&.
     2151.sp
     2152Default:
     2153\fI\fIctdb locktime warn threshold\fR\fR\fI = \fR\fI0\fR\fI \fR
     2154.RE
     2155
    21222156ctdb timeout (G)
    21232157.\" ctdb timeout
     
    25452579\fIshareName\fR
    25462580\- the name of the existing service\&.
     2581.RE
    25472582.sp
    25482583.RE
     
    30113046.PP
    30123047.RS 4
    3013 This parameter controls whether or not smbd will honor privileges assigned to specific SIDs via either
     3048This deprecated parameter controls whether or not smbd will honor privileges assigned to specific SIDs via either
    30143049net rpc rights
    30153050or one of the Windows user and group manager tools\&. This parameter is enabled by default\&. It can be disabled to prevent members of the Domain Admins group from being able to assign privileges to users or groups which can then result in certain smbd operations running as root that would normally run under the context of the connected user\&.
     
    34153450.\}
    34163451uid of user or gid of group
     3452.RE
    34173453.sp
    34183454.RE
     
    34613497.\}
    346234984 \- group default quotas (gid = \-1)
     3499.RE
    34633500.sp
    34643501.RE
     
    35513588.\}
    35523589Arg 8(optional) \- the number of bytes in a block(default is 1024)
     3590.RE
    35533591.sp
    35543592.RE
     
    36143652\m[blue]\fBguest account\fR\m[]\&.
    36153653.sp
    3616 This paramater nullifies the benifits of setting
     3654This parameter nullifies the benefits of setting
    36173655\m[blue]\fBrestrict anonymous = 2\fR\m[]
    36183656.sp
     
    39083946.RE
    39093947
    3910 idmap alloc backend (G)
    3911 .\" idmap alloc backend
    3912 .PP
    3913 .RS 4
    3914 The idmap alloc backend provides a plugin interface for Winbind to use when allocating Unix uids/gids for Windows SIDs\&. This option refers to the name of the idmap module which will provide the id allocation functionality\&. Please refer to the man page for each idmap plugin to determine whether or not the module implements the allocation feature\&. The most common plugins are the tdb (\fBidmap_tdb\fR(8)) and ldap (\fBidmap_ldap\fR(8)) libraries\&.
    3915 .sp
    3916 This parameter defaults to the value
    3917 \m[blue]\fBidmap backend\fR\m[]
    3918 was set to, so by default winbind will allocate Unix IDs from the default backend\&. You will only need to set this parameter explicitly if you have an external source for Unix IDs, like a central database service somewhere in your company\&.
    3919 .sp
    3920 Also refer to the
    3921 \m[blue]\fBidmap alloc config\fR\m[]
    3922 option\&.
    3923 .sp
    3924 \fINo default\fR
    3925 .sp
    3926 Example:
    3927 \fI\fIidmap alloc backend\fR\fR\fI = \fR\fItdb\fR\fI \fR
    3928 .RE
    3929 
    3930 idmap alloc config (G)
    3931 .\" idmap alloc config
    3932 .PP
    3933 .RS 4
    3934 The idmap alloc config prefix provides a means of managing settings for the backend defined by the
    3935 \m[blue]\fBidmap alloc backend\fR\m[]
    3936 parameter\&. Refer to the man page for each idmap plugin regarding specific configuration details\&.
    3937 .sp
    3938 \fINo default\fR
    3939 .RE
    3940 
    39413948idmap backend (G)
    39423949.\" idmap backend
     
    39453952The idmap backend provides a plugin interface for Winbind to use varying backends to store SID/uid/gid mapping tables\&.
    39463953.sp
    3947 This option specifies the default backend that is used when no special configuration set by
    3948 \m[blue]\fBidmap config\fR\m[]
    3949 matches the specific request\&.
    3950 .sp
    3951 This default backend also specifies the place where winbind\-generated idmap entries will be stored\&. So it is highly recommended that you specify a writable backend like
    3952 \fBidmap_tdb\fR(8)
    3953 or
    3954 \fBidmap_ldap\fR(8)
    3955 as the idmap backend\&. The
    3956 \fBidmap_rid\fR(8)
    3957 and
    3958 \fBidmap_ad\fR(8)
    3959 backends are not writable and thus will generate unexpected results if set as idmap backend\&.
    3960 .sp
    3961 To use the rid and ad backends, please specify them via the
    3962 \m[blue]\fBidmap config\fR\m[]
    3963 parameter, possibly also for the domain your machine is member of, specified by
    3964 \m[blue]\fBworkgroup\fR\m[]\&.
    3965 .sp
    3966 Examples of SID/uid/gid backends include tdb (\fBidmap_tdb\fR(8)), ldap (\fBidmap_ldap\fR(8)), rid (\fBidmap_rid\fR(8)), and ad (\fBidmap_ad\fR(8))\&.
     3954This option specifies the default backend that is used when no special configuration set, but it is now deprecated in favour of the new spelling
     3955\m[blue]\fBidmap config * : backend\fR\m[]\&.
    39673956.sp
    39683957Default:
     
    39843973.PP
    39853974.RS 4
    3986 The idmap config prefix provides a means of managing each trusted domain separately\&. The idmap config prefix should be followed by the name of the domain, a colon, and a setting specific to the chosen backend\&. There are three options available for all domains:
     3975ID mapping in Samba is the mapping between Windows SIDs and Unix user and group IDs\&. This is performed by Winbindd with a configurable plugin interface\&. Samba\'s ID mapping is configured by options starting with the
     3976\m[blue]\fBidmap config\fR\m[]
     3977prefix\&. An idmap option consists of the
     3978\m[blue]\fBidmap config\fR\m[]
     3979prefix, followed by a domain name or the asterisk character (*), a colon, and the name of an idmap setting for the chosen domain\&.
     3980.sp
     3981The idmap configuration is hence divided into groups, one group for each domain to be configured, and one group with the the asterisk instead of a proper domain name, which speifies the default configuration that is used to catch all domains that do not have an explicit idmap configuration of their own\&.
     3982.sp
     3983There are three general options available:
    39873984.PP
    39883985backend = backend_name
    39893986.RS 4
    3990 Specifies the name of the idmap plugin to use as the SID/uid/gid backend for this domain\&.
     3987This specifies the name of the idmap plugin to use as the SID/uid/gid backend for this domain\&. The standard backends are tdb (\fBidmap_tdb\fR(8)), tdb2 (\fBidmap_tdb2\fR(8)), ldap (\fBidmap_ldap\fR(8)), , rid (\fBidmap_rid\fR(8)), , hash (\fBidmap_hash\fR(8)), , autorid (\fBidmap_autorid\fR(8)), , ad (\fBidmap_ad\fR(8)), , adex (\fBidmap_adex\fR(8)), , and nss\&. (\fBidmap_nss\fR(8)), The corresponding manual pages contain the details, but here is a summary\&.
     3988.sp
     3989The first three of these create mappings of their own using internal unixid counters and store the mappings in a database\&. These are suitable for use in the default idmap configuration\&. The rid and hash backends use a pure algorithmic calculation to determine the unixid for a SID\&. The autorid module is a mixture of the tdb and rid backend\&. It creates ranges for each domain encountered and then uses the rid algorithm for each of these automatically configured domains individually\&. The ad and adex backends both use unix IDs stored in Active Directory via the standard schema extensions\&. The nss backend reverses the standard winbindd setup and gets the unixids via names from nsswitch which can be useful in an ldap setup\&.
    39913990.RE
    39923991.PP
    39933992range = low \- high
    39943993.RS 4
    3995 Defines the available matching uid and gid range for which the backend is authoritative\&. Note that the range commonly matches the allocation range due to the fact that the same backend will store and retrieve SID/uid/gid mapping entries\&.
    3996 .sp
    3997 winbind uses this parameter to find the backend that is authoritative for a unix ID to SID mapping, so it must be set for each individually configured domain, and it must be disjoint from the ranges set via
    3998 \m[blue]\fBidmap uid\fR\m[]
    3999 and
    4000 \m[blue]\fBidmap gid\fR\m[]\&.
     3994Defines the available matching uid and gid range for which the backend is authoritative\&. For allocating backends, this also defines the start and the end of the range for allocating new unid IDs\&.
     3995.sp
     3996winbind uses this parameter to find the backend that is authoritative for a unix ID to SID mapping, so it must be set for each individually configured domain and for the default configuration\&. The configured ranges must be mutually disjoint\&.
     3997.RE
     3998.PP
     3999read only = yes|no
     4000.RS 4
     4001This option can be used to turn the writing backends tdb, tdb2, and ldap into read only mode\&. This can be useful e\&.g\&. in cases where a pre\-filled database exists that should not be extended automatically\&.
    40014002.RE
    40024003.sp
    40034004The following example illustrates how to configure the
    40044005\fBidmap_ad\fR(8)
    4005 for the CORP domain and the
     4006backend for the CORP domain and the
    40064007\fBidmap_tdb\fR(8)
    40074008backend for all other domains\&. This configuration assumes that the admin of CORP assigns unix ids below 1000000 via the SFU extensions, and winbind is supposed to use the next million entries for its own mappings from trusted domains and for local groups for example\&.
     
    40114012.\}
    40124013.nf
    4013         idmap backend = tdb
    4014         idmap uid = 1000000\-1999999
    4015         idmap gid = 1000000\-1999999
     4014        idmap config * : backend = tdb
     4015        idmap config * : range = 1000000\-1999999
    40164016
    40174017        idmap config CORP : backend  = ad
     
    40384038.PP
    40394039.RS 4
    4040 The idmap gid parameter specifies the range of group ids that are allocated for the purpose of mapping UNX groups to NT group SIDs\&. This range of group ids should have no existing local or NIS groups within it as strange conflicts can occur otherwise\&.
    4041 .sp
    4042 See also the
    4043 \m[blue]\fBidmap backend\fR\m[], and
     4040The idmap gid parameter specifies the range of group ids for the default idmap configuration\&. It is now deprecated in favour of
     4041\m[blue]\fBidmap config * : range\fR\m[]\&.
     4042.sp
     4043See the
    40444044\m[blue]\fBidmap config\fR\m[]
    4045 options\&.
     4045option\&.
    40464046.sp
    40474047Default:
     
    40744074.PP
    40754075.RS 4
    4076 The idmap uid parameter specifies the range of user ids that are allocated for use in mapping UNIX users to NT user SIDs\&. This range of ids should have no existing local or NIS users within it as strange conflicts can occur otherwise\&.
    4077 .sp
    4078 See also the
    4079 \m[blue]\fBidmap backend\fR\m[]
    4080 and
     4076The idmap uid parameter specifies the range of user ids for the default idmap configuration\&. It is now deprecated in favour of
     4077\m[blue]\fBidmap config * : range\fR\m[]\&.
     4078.sp
     4079See the
    40814080\m[blue]\fBidmap config\fR\m[]
    4082 options\&.
     4081option\&.
    40834082.sp
    40844083Default:
     
    42474246.\}
    42484247a broadcast/mask pair\&.
     4248.RE
    42494249.sp
    42504250.RE
     
    43774377.\}
    43784378secrets and keytab \- use the secrets\&.tdb first, then the system keytab
     4379.RE
    43794380.sp
    43804381.RE
     
    46944695\fIOnly\fR
    46954696= Only update the LDAP password and let the LDAP server do the rest\&.
     4697.RE
    46964698.sp
    46974699.RE
     
    48904892\fIstart tls\fR
    48914893= Use the LDAPv3 StartTLS extended operation (RFC2830) for communicating with the directory server\&.
     4894.RE
    48924895.sp
    48934896.RE
     
    53925395.\}
    53935396\fIregistry\fR
     5397.RE
    53945398.sp
    53955399.RE
     
    55725576.RE
    55735577
     5578log writeable files on exit (G)
     5579.\" log writeable files on exit
     5580.PP
     5581.RS 4
     5582When the network connection between a CIFS client and Samba dies, Samba has no option but to simply shut down the server side of the network connection\&. If this happens, there is a risk of data corruption because the Windows client did not complete all write operations that the Windows application requested\&. Setting this option to "yes" makes smbd log with a level 0 message a list of all files that have been opened for writing when the network connection died\&. Those are the files that are potentially corrupted\&. It is meant as an aid for the administrator to give him a list of files to do consistency checks on\&.
     5583.sp
     5584Default:
     5585\fI\fIlog writeable files on exit\fR\fR\fI = \fR\fIno\fR\fI \fR
     5586.RE
     5587
    55745588lppause command (S)
    55755589.\" lppause command
     
    58725886.\}
    58735887Files whose UNIX name begins with a dot will be presented as DOS hidden files\&. The mangled name will be created as for other filenames, but with the leading dot removed and "___" as its extension regardless of actual original extension (that\'s three underscores)\&.
     5888.RE
    58745889.sp
    58755890.RE
     
    60326047\m[blue]\fBstore dos attributes\fR\m[]
    60336048method\&. This may be useful for exporting mounted CDs\&.
     6049.RE
    60346050.sp
    60356051.RE
     
    61266142\fBBad Uid\fR
    61276143\- Is only applicable when Samba is configured in some type of domain mode security (security = {domain|ads}) and means that user logins which are successfully authenticated but which have no valid Unix user account (and smbd is unable to create one) should be mapped to the defined guest account\&. This was the default behavior of Samba 2\&.x releases\&. Note that if a member server is running winbindd, this option should never be required because the nss_winbind library will export the Windows domain users and groups to the underlying OS via the Name Service Switch interface\&.
     6144.RE
    61286145.sp
    61296146.RE
     
    63426359.\}
    63436360\fBSMB2\fR: Re\-implementation of the SMB protocol\&. Used by Windows Vista and newer\&. The Samba implementation of SMB2 is currently marked experimental!
     6361.RE
    63446362.sp
    63456363.RE
     
    65046522\fI%f\fR
    65056523= who the message is from\&.
     6524.RE
    65066525.sp
    65076526.RE
     
    66366655.RE
    66376656
     6657multicast dns register (G)
     6658.\" multicast dns register
     6659.PP
     6660.RS 4
     6661If compiled with proper support for it, Samba will announce itself with multicast DNS services like for example provided by the Avahi daemon\&.
     6662.sp
     6663This parameter allows disabling Samba to register itself\&.
     6664.sp
     6665Default:
     6666\fI\fImulticast dns register\fR\fR\fI = \fR\fIyes\fR\fI \fR
     6667.RE
     6668
    66386669name cache timeout (G)
    66396670.\" name cache timeout
     
    67126743\m[blue]\fBinterfaces\fR\m[]
    67136744parameter\&. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet\&.
     6745.RE
    67146746.sp
    67156747.RE
     
    67286760Example:
    67296761\fI\fIname resolve order\fR\fR\fI = \fR\fIlmhosts bcast host\fR\fI \fR
     6762.RE
     6763
     6764ncalrpc dir (G)
     6765.\" ncalrpc dir
     6766.PP
     6767.RS 4
     6768This directory will hold a series of named pipes to allow RPC over inter\-process communication\&.
     6769.sp
     6770\&.
     6771        This will allow Samba and other unix processes to interact over DCE/RPC without using TCP/IP\&. Additionally a sub\-directory \'np\' has restricted permissions, and allows a trusted communication channel between Samba processes
     6772.sp
     6773Default:
     6774\fI\fIncalrpc dir\fR\fR\fI = \fR\fI${prefix}/var/ncalrpc\fR\fI \fR
     6775.sp
     6776Example:
     6777\fI\fIncalrpc dir\fR\fR\fI = \fR\fI/var/run/samba/ncalrpc\fR\fI \fR
    67306778.RE
    67316779
     
    71167164.sp
    71177165Multiple servers may also be specified in double\-quotes\&. Whether multiple servers are supported or not and the exact syntax depends on the LDAP library you use\&.
     7166.RE
    71187167.sp
    71197168.RE
     
    72797328Some client/server combinations have difficulty with mixed\-case passwords\&. One offending client is Windows for Workgroups, which for some reason forces passwords to upper case when using the LANMAN1 protocol, but leaves them alone when using COREPLUS! Another problem child is the Windows 95/98 family of operating systems\&. These clients upper case clear text passwords even when NT LM 0\&.12 selected by the protocol negotiation request/response\&.
    72807329.sp
    7281 This parameter defines the maximum number of characters that may be upper case in passwords\&.
     7330This deprecated parameter defines the maximum number of characters that may be upper case in passwords\&.
    72827331.sp
    72837332For example, say the password given was "FRED"\&. If
     
    73167365security = [ads|domain|server]
    73177366it is possible to get Samba to do all its username/password validation using a specific remote server\&.
    7318 .sp
    7319 This option sets the name or IP address of the password server to use\&. New syntax has been added to support defining the port to use when connecting to the server the case of an ADS realm\&. To define a port other than the default LDAP port of 389, add the port number using a colon after the name or IP address (e\&.g\&. 192\&.168\&.1\&.100:389)\&. If you do not specify a port, Samba will use the standard LDAP port of tcp/389\&. Note that port numbers have no effect on password servers for Windows NT 4\&.0 domains or netbios connections\&.
    7320 .sp
    7321 If parameter is a name, it is looked up using the parameter
    7322 \m[blue]\fBname resolve order\fR\m[]
    7323 and so may resolved by any method and order described in that parameter\&.
    7324 .sp
    7325 The password server must be a machine capable of using the "LM1\&.2X002" or the "NT LM 0\&.12" protocol, and it must be in user level security mode\&.
    7326 .if n \{\
    7327 .sp
    7328 .\}
    7329 .RS 4
    7330 .it 1 an-trap
    7331 .nr an-no-space-flag 1
    7332 .nr an-break-flag 1
    7333 .br
    7334 .ps +1
    7335 \fBNote\fR
    7336 .ps -1
    7337 .br
    7338 Using a password server means your UNIX box (running Samba) is only as secure as your password server\&.
    7339 \fIDO NOT CHOOSE A PASSWORD SERVER THAT YOU DON\'T COMPLETELY TRUST\fR\&.
    7340 .sp .5v
    7341 .RE
    7342 Never point a Samba server at itself for password serving\&. This will cause a loop and could lock up your Samba server!
    7343 .sp
    7344 The name of the password server takes the standard substitutions, but probably the only useful one is
    7345 \fI%m \fR, which means the Samba server will use the incoming client as the password server\&. If you use this then you better trust your clients, and you had better restrict them with hosts allow!
    73467367.sp
    73477368If the
     
    73507371\fBdomain\fR
    73517372or
    7352 \fBads\fR, then the list of machines in this option must be a list of Primary or Backup Domain controllers for the Domain or the character \'*\', as the Samba server is effectively in that domain, and will use cryptographically authenticated RPC calls to authenticate the user logging on\&. The advantage of using
    7353 security = domain
    7354 is that if you list several hosts in the
     7373\fBads\fR, then this option
     7374\fIshould not\fR
     7375be used, as the default \'*\' indicates to Samba to determine the best DC to contact dynamically, just as all other hosts in an AD domain do\&. This allows the domain to be maintained without modification to the smb\&.conf file\&. The cryptograpic protection on the authenticated RPC calls used to verify passwords ensures that this default is safe\&.
     7376.sp
     7377\fIIt is strongly recommended that you use the default of \'*\'\fR, however if in your particular environment you have reason to specify a particular DC list, then the list of machines in this option must be a list of names or IP addresses of Domain controllers for the Domain\&. If you use the default of \'*\', or list several hosts in the
    73557378\fIpassword server\fR
    73567379option then
     
    73587381will try each in turn till it finds one that responds\&. This is useful in case your primary server goes down\&.
    73597382.sp
    7360 If the
    7361 \fIpassword server\fR
    7362 option is set to the character \'*\', then Samba will attempt to auto\-locate the Primary or Backup Domain controllers to authenticate against by doing a query for the name
    7363 \fBWORKGROUP<1C>\fR
    7364 and then contacting each server returned in the list of IP addresses from the name resolution source\&.
    7365 .sp
    73667383If the list of servers contains both names/IP\'s and the \'*\' character, the list is treated as a list of preferred domain controllers, but an auto lookup of all remaining DC\'s will be added to the list as well\&. Samba will not attempt to optimize this list by locating the closest DC\&.
     7384.sp
     7385If parameter is a name, it is looked up using the parameter
     7386\m[blue]\fBname resolve order\fR\m[]
     7387and so may resolved by any method and order described in that parameter\&.
    73677388.sp
    73687389If the
    73697390\fIsecurity\fR
    73707391parameter is set to
    7371 \fBserver\fR, then there are different restrictions that
    7372 security = domain
    7373 doesn\'t suffer from:
     7392\fBserver\fR, these additional restrictions apply:
    73747393.sp
    73757394.RS 4
     
    73997418.IP \(bu 2.3
    74007419.\}
    7401 If you are using a Windows NT server as your password server then you will have to ensure that your users are able to login from the Samba server, as when in
     7420You will have to ensure that your users are able to login from the Samba server, as when in
    74027421security = server
    7403 mode the network logon will appear to come from there rather than from the users workstation\&.
     7422mode the network logon will appear to come from the Samba server rather than from the users workstation\&.
     7423.RE
     7424.sp
     7425.RS 4
     7426.ie n \{\
     7427\h'-04'\(bu\h'+03'\c
     7428.\}
     7429.el \{\
     7430.sp -1
     7431.IP \(bu 2.3
     7432.\}
     7433The client must not select NTLMv2 authentication\&.
     7434.RE
     7435.sp
     7436.RS 4
     7437.ie n \{\
     7438\h'-04'\(bu\h'+03'\c
     7439.\}
     7440.el \{\
     7441.sp -1
     7442.IP \(bu 2.3
     7443.\}
     7444The password server must be a machine capable of using the "LM1\&.2X002" or the "NT LM 0\&.12" protocol, and it must be in user level security mode\&.
     7445.RE
     7446.sp
     7447.RS 4
     7448.ie n \{\
     7449\h'-04'\(bu\h'+03'\c
     7450.\}
     7451.el \{\
     7452.sp -1
     7453.IP \(bu 2.3
     7454.\}
     7455Using a password server means your UNIX box (running Samba) is only as secure as (a host masqurading as) your password server\&.
     7456\fIDO NOT CHOOSE A PASSWORD SERVER THAT YOU DON\'T COMPLETELY TRUST\fR\&.
     7457.RE
     7458.sp
     7459.RS 4
     7460.ie n \{\
     7461\h'-04'\(bu\h'+03'\c
     7462.\}
     7463.el \{\
     7464.sp -1
     7465.IP \(bu 2.3
     7466.\}
     7467Never point a Samba server at itself for password serving\&. This will cause a loop and could lock up your Samba server!
     7468.RE
     7469.sp
     7470.RS 4
     7471.ie n \{\
     7472\h'-04'\(bu\h'+03'\c
     7473.\}
     7474.el \{\
     7475.sp -1
     7476.IP \(bu 2.3
     7477.\}
     7478The name of the password server takes the standard substitutions, but probably the only useful one is
     7479\fI%m \fR, which means the Samba server will use the incoming client as the password server\&. If you use this then you better trust your clients, and you had better restrict them with hosts allow!
     7480.RE
    74047481.sp
    74057482.RE
     
    74757552The
    74767553\fBsmbd\fR(8)
    7477 daemon maintains an database of file locks obtained by SMB clients\&. The default behavior is to map this internal database to POSIX locks\&. This means that file locks obtained by SMB clients are consistent with those seen by POSIX compliant applications accessing the files via a non\-SMB method (e\&.g\&. NFS or local file access)\&. You should never need to disable this parameter\&.
     7554daemon maintains an database of file locks obtained by SMB clients\&. The default behavior is to map this internal database to POSIX locks\&. This means that file locks obtained by SMB clients are consistent with those seen by POSIX compliant applications accessing the files via a non\-SMB method (e\&.g\&. NFS or local file access)\&. It is very unlikely that you need to set this parameter to "no", unless you are sharing from an NFS mount, which is not a good idea in the first place\&.
    74787555.sp
    74797556Default:
     
    76537730.PP
    76547731.RS 4
    7655 This option specifies the number of seconds before the printing subsystem is again asked for the known printers\&. If the value is greater than 60 the initial waiting time is set to 60 seconds to allow an earlier first rescan of the printing subsystem\&.
     7732This option specifies the number of seconds before the printing subsystem is again asked for the known printers\&.
    76567733.sp
    76577734Setting this parameter to 0 disables any rescanning for new or removed printers after the initial startup\&.
     
    79177994.RE
    79187995
     7996print notify backchannel (S)
     7997.\" print notify backchannel
     7998.PP
     7999.RS 4
     8000Windows print clients can update print queue status by expecting the server to open a backchannel SMB connection to them\&. Due to client firewall settings this can cause considerable timeouts and will often fail, as there is no guarantee the client is even running an SMB server\&. By setting this parameter to
     8001\fBno\fR
     8002the Samba print server will not try to connect back to clients and treat corresponding requests as if the connection back to the client failed\&. The default setting of
     8003\fByes\fR
     8004causes smbd to attempt this connection\&.
     8005.sp
     8006Default:
     8007\fI\fIprint notify backchannel\fR\fR\fI = \fR\fIyes\fR\fI \fR
     8008.RE
     8009
    79198010private dir (G)
    79208011.\" private dir
     
    83168407.RE
    83178408
     8409rpc_server (G)
     8410.\" rpc_server
     8411.PP
     8412.RS 4
     8413Defines what kind of rpc server to use for a named pipe\&. The rpc_server prefix must be followed by the pipe name, and a value\&.
     8414.sp
     8415Three possible values are currently supported:
     8416embedded
     8417daemon
     8418external
     8419.sp
     8420The classic method is to run every pipe as an internal function
     8421\fIembedded\fR
     8422in smbd\&.
     8423.sp
     8424An alternative method is to fork a
     8425\fIdaemon\fR
     8426early on at smbd startup time\&. This is supported only for selected pipes\&.
     8427.sp
     8428Choosing the
     8429\fIexternal\fR
     8430option allows to run a completely independent (3rd party) server capable of interfacing with samba via the MS\-RPC interface over named pipes\&.
     8431.sp
     8432Currently only the spoolss pipe can be configured in
     8433\fIdaemon\fR
     8434mode like this:
     8435.sp
     8436.if n \{\
     8437.RS 4
     8438.\}
     8439.nf
     8440        rpc_server:spoolss = daemon
     8441       
     8442.fi
     8443.if n \{\
     8444.RE
     8445.\}
     8446.sp
     8447Default:
     8448\fI\fIrpc_server\fR\fR\fI = \fR\fInone\fR\fI \fR
     8449.RE
     8450
    83188451security mask (S)
    83198452.\" security mask
     
    83568489.sp
    83578490The alternatives are
    8358 security = share,
    8359 security = server
     8491security = ads
    83608492or
    8361 security = domain\&.
     8493security = domain, which support joining Samba to a Windows domain, along with
     8494security = share
     8495and
     8496security = server, both of which are deprecated\&.
    83628497.sp
    83638498In versions of Samba prior to 2\&.0\&.0, the default was
     
    83658500mainly because that was the only option at one stage\&.
    83668501.sp
    8367 There is a bug in WfWg that has relevance to this setting\&. When in user or server level security a WfWg client will totally ignore the username and password you type in the "connect drive" dialog box\&. This makes it very difficult (if not impossible) to connect to a Samba service as anyone except the user that you are logged into WfWg as\&.
    8368 .sp
    8369 If your PCs use usernames that are the same as their usernames on the UNIX machine then you will want to use
    8370 security = user\&. If you mostly use usernames that don\'t exist on the UNIX box then use
    8371 security = share\&.
    8372 .sp
    8373 You should also use
    8374 security = share
    8375 if you want to mainly setup shares without a password (guest shares)\&. This is commonly used for a shared printer server\&. It is more difficult to setup guest shares with
    8376 security = user, see the
     8502You should use
     8503security = user
     8504and
    83778505\m[blue]\fBmap to guest\fR\m[]
    8378 parameter for details\&.
     8506if you want to mainly setup shares without a password (guest shares)\&. This is commonly used for a shared printer server\&.
    83798507.sp
    83808508It is possible to use
     
    83878515The different settings will now be explained\&.
    83888516.sp
    8389 \fISECURITY = SHARE\fR
    8390 .sp
    8391 When clients connect to a share level security server, they need not log onto the server with a valid username and password before attempting to connect to a shared resource (although modern clients such as Windows 95/98 and Windows NT will send a logon request with a username but no password when talking to a
    8392 security = share
    8393 server)\&. Instead, the clients send authentication information (passwords) on a per\-share basis, at the time they attempt to connect to that share\&.
    8394 .sp
    8395 Note that
    8396 smbd
    8397 \fIALWAYS\fR
    8398 uses a valid UNIX user to act on behalf of the client, even in
    8399 security = share
    8400 level security\&.
    8401 .sp
    8402 As clients are not required to send a username to the server in share level security,
    8403 smbd
    8404 uses several techniques to determine the correct UNIX user to use on behalf of the client\&.
    8405 .sp
    8406 A list of possible UNIX usernames to match with the given client password is constructed using the following methods :
    8407 .sp
    8408 .RS 4
    8409 .ie n \{\
    8410 \h'-04'\(bu\h'+03'\c
    8411 .\}
    8412 .el \{\
    8413 .sp -1
    8414 .IP \(bu 2.3
    8415 .\}
    8416 If the
    8417 \m[blue]\fBguest only\fR\m[]
    8418 parameter is set, then all the other stages are missed and only the
    8419 \m[blue]\fBguest account\fR\m[]
    8420 username is checked\&.
    8421 .RE
    8422 .sp
    8423 .RS 4
    8424 .ie n \{\
    8425 \h'-04'\(bu\h'+03'\c
    8426 .\}
    8427 .el \{\
    8428 .sp -1
    8429 .IP \(bu 2.3
    8430 .\}
    8431 Is a username is sent with the share connection request, then this username (after mapping \- see
    8432 \m[blue]\fBusername map\fR\m[]), is added as a potential username\&.
    8433 .RE
    8434 .sp
    8435 .RS 4
    8436 .ie n \{\
    8437 \h'-04'\(bu\h'+03'\c
    8438 .\}
    8439 .el \{\
    8440 .sp -1
    8441 .IP \(bu 2.3
    8442 .\}
    8443 If the client did a previous
    8444 \fIlogon \fR
    8445 request (the SessionSetup SMB call) then the username sent in this SMB will be added as a potential username\&.
    8446 .RE
    8447 .sp
    8448 .RS 4
    8449 .ie n \{\
    8450 \h'-04'\(bu\h'+03'\c
    8451 .\}
    8452 .el \{\
    8453 .sp -1
    8454 .IP \(bu 2.3
    8455 .\}
    8456 The name of the service the client requested is added as a potential username\&.
    8457 .RE
    8458 .sp
    8459 .RS 4
    8460 .ie n \{\
    8461 \h'-04'\(bu\h'+03'\c
    8462 .\}
    8463 .el \{\
    8464 .sp -1
    8465 .IP \(bu 2.3
    8466 .\}
    8467 The NetBIOS name of the client is added to the list as a potential username\&.
    8468 .RE
    8469 .sp
    8470 .RS 4
    8471 .ie n \{\
    8472 \h'-04'\(bu\h'+03'\c
    8473 .\}
    8474 .el \{\
    8475 .sp -1
    8476 .IP \(bu 2.3
    8477 .\}
    8478 Any users on the
    8479 \m[blue]\fBuser\fR\m[]
    8480 list are added as potential usernames\&.
    8481 .sp
    8482 .RE
    8483 If the
    8484 \fIguest only\fR
    8485 parameter is not set, then this list is then tried with the supplied password\&. The first user for whom the password matches will be used as the UNIX user\&.
    8486 .sp
    8487 If the
    8488 \fIguest only\fR
    8489 parameter is set, or no username can be determined then if the share is marked as available to the
    8490 \fIguest account\fR, then this guest user will be used, otherwise access is denied\&.
    8491 .sp
    8492 Note that it can be
    8493 \fIvery\fR
    8494 confusing in share\-level security as to which UNIX username will eventually be used in granting access\&.
    8495 .sp
    8496 See also the section
    8497 NOTE ABOUT USERNAME/PASSWORD VALIDATION\&.
    8498 .sp
    84998517\fISECURITY = USER\fR
    85008518.sp
    8501 This is the default security setting in Samba 3\&.0\&. With user\-level security a client must first "log\-on" with a valid username and password (which can be mapped using the
     8519This is the default security setting in Samba\&. With user\-level security a client must first "log\-on" with a valid username and password (which can be mapped using the
    85028520\m[blue]\fBusername map\fR\m[]
    85038521parameter)\&. Encrypted passwords (see the
     
    85558573parameter\&.
    85568574.sp
    8557 \fISECURITY = SERVER\fR
    8558 .sp
    8559 In this mode Samba will try to validate the username/password by passing it to another SMB server, such as an NT box\&. If this fails it will revert to
    8560 security = user\&. It expects the
    8561 \m[blue]\fBencrypted passwords\fR\m[]
    8562 parameter to be set to
    8563 \fByes\fR, unless the remote server does not support them\&. However note that if encrypted passwords have been negotiated then Samba cannot revert back to checking the UNIX password file, it must have a valid
    8564 smbpasswd
    8565 file to check users against\&. See the chapter about the User Database in the Samba HOWTO Collection for details on how to set this up\&.
     8575\fISECURITY = SHARE\fR
    85668576.if n \{\
    85678577.sp
     
    85768586.ps -1
    85778587.br
    8578 This mode of operation has significant pitfalls since it is more vulnerable to man\-in\-the\-middle attacks and server impersonation\&. In particular, this mode of operation can cause significant resource consuption on the PDC, as it must maintain an active connection for the duration of the user\'s session\&. Furthermore, if this connection is lost, there is no way to reestablish it, and futher authentications to the Samba server may fail (from a single client, till it disconnects)\&.
     8588This option is deprecated as it is incompatible with SMB2
     8589.sp .5v
     8590.RE
     8591When clients connect to a share level security server, they need not log onto the server with a valid username and password before attempting to connect to a shared resource (although modern clients such as Windows 95/98 and Windows NT will send a logon request with a username but no password when talking to a
     8592security = share
     8593server)\&. Instead, the clients send authentication information (passwords) on a per\-share basis, at the time they attempt to connect to that share\&.
     8594.sp
     8595Note that
     8596smbd
     8597\fIALWAYS\fR
     8598uses a valid UNIX user to act on behalf of the client, even in
     8599security = share
     8600level security\&.
     8601.sp
     8602As clients are not required to send a username to the server in share level security,
     8603smbd
     8604uses several techniques to determine the correct UNIX user to use on behalf of the client\&.
     8605.sp
     8606A list of possible UNIX usernames to match with the given client password is constructed using the following methods :
     8607.sp
     8608.RS 4
     8609.ie n \{\
     8610\h'-04'\(bu\h'+03'\c
     8611.\}
     8612.el \{\
     8613.sp -1
     8614.IP \(bu 2.3
     8615.\}
     8616If the
     8617\m[blue]\fBguest only\fR\m[]
     8618parameter is set, then all the other stages are missed and only the
     8619\m[blue]\fBguest account\fR\m[]
     8620username is checked\&.
     8621.RE
     8622.sp
     8623.RS 4
     8624.ie n \{\
     8625\h'-04'\(bu\h'+03'\c
     8626.\}
     8627.el \{\
     8628.sp -1
     8629.IP \(bu 2.3
     8630.\}
     8631Is a username is sent with the share connection request, then this username (after mapping \- see
     8632\m[blue]\fBusername map\fR\m[]), is added as a potential username\&.
     8633.RE
     8634.sp
     8635.RS 4
     8636.ie n \{\
     8637\h'-04'\(bu\h'+03'\c
     8638.\}
     8639.el \{\
     8640.sp -1
     8641.IP \(bu 2.3
     8642.\}
     8643If the client did a previous
     8644\fIlogon \fR
     8645request (the SessionSetup SMB call) then the username sent in this SMB will be added as a potential username\&.
     8646.RE
     8647.sp
     8648.RS 4
     8649.ie n \{\
     8650\h'-04'\(bu\h'+03'\c
     8651.\}
     8652.el \{\
     8653.sp -1
     8654.IP \(bu 2.3
     8655.\}
     8656The name of the service the client requested is added as a potential username\&.
     8657.RE
     8658.sp
     8659.RS 4
     8660.ie n \{\
     8661\h'-04'\(bu\h'+03'\c
     8662.\}
     8663.el \{\
     8664.sp -1
     8665.IP \(bu 2.3
     8666.\}
     8667The NetBIOS name of the client is added to the list as a potential username\&.
     8668.RE
     8669.sp
     8670.RS 4
     8671.ie n \{\
     8672\h'-04'\(bu\h'+03'\c
     8673.\}
     8674.el \{\
     8675.sp -1
     8676.IP \(bu 2.3
     8677.\}
     8678Any users on the
     8679\m[blue]\fBuser\fR\m[]
     8680list are added as potential usernames\&.
     8681.RE
     8682.sp
     8683.RE
     8684If the
     8685\fIguest only\fR
     8686parameter is not set, then this list is then tried with the supplied password\&. The first user for whom the password matches will be used as the UNIX user\&.
     8687.sp
     8688If the
     8689\fIguest only\fR
     8690parameter is set, or no username can be determined then if the share is marked as available to the
     8691\fIguest account\fR, then this guest user will be used, otherwise access is denied\&.
     8692.sp
     8693Note that it can be
     8694\fIvery\fR
     8695confusing in share\-level security as to which UNIX username will eventually be used in granting access\&.
     8696.sp
     8697See also the section
     8698NOTE ABOUT USERNAME/PASSWORD VALIDATION\&.
     8699.sp
     8700\fISECURITY = SERVER\fR
     8701.sp
     8702In this depicted mode Samba will try to validate the username/password by passing it to another SMB server, such as an NT box\&. If this fails it will revert to
     8703security = user\&. It expects the
     8704\m[blue]\fBencrypted passwords\fR\m[]
     8705parameter to be set to
     8706\fByes\fR, unless the remote server does not support them\&. However note that if encrypted passwords have been negotiated then Samba cannot revert back to checking the UNIX password file, it must have a valid
     8707smbpasswd
     8708file to check users against\&. See the chapter about the User Database in the Samba HOWTO Collection for details on how to set this up\&.
     8709.if n \{\
     8710.sp
     8711.\}
     8712.RS 4
     8713.it 1 an-trap
     8714.nr an-no-space-flag 1
     8715.nr an-break-flag 1
     8716.br
     8717.ps +1
     8718\fBNote\fR
     8719.ps -1
     8720.br
     8721This mode of operation has significant pitfalls since it is more vulnerable to man\-in\-the\-middle attacks and server impersonation\&. In particular, this mode of operation can cause significant resource consumption on the PDC, as it must maintain an active connection for the duration of the user\'s session\&. Furthermore, if this connection is lost, there is no way to reestablish it, and further authentications to the Samba server may fail (from a single client, till it disconnects)\&.
     8722.sp .5v
     8723.RE
     8724.if n \{\
     8725.sp
     8726.\}
     8727.RS 4
     8728.it 1 an-trap
     8729.nr an-no-space-flag 1
     8730.nr an-break-flag 1
     8731.br
     8732.ps +1
     8733\fBNote\fR
     8734.ps -1
     8735.br
     8736If the client selects NTLMv2 authentication, then this mode of operation
     8737\fIwill fail\fR
    85798738.sp .5v
    85808739.RE
     
    85978756.sp .5v
    85988757.RE
     8758.if n \{\
     8759.sp
     8760.\}
     8761.RS 4
     8762.it 1 an-trap
     8763.nr an-no-space-flag 1
     8764.nr an-break-flag 1
     8765.br
     8766.ps +1
     8767\fBNote\fR
     8768.ps -1
     8769.br
     8770This option is deprecated, and may be removed in future
     8771.sp .5v
     8772.RE
    85998773\fINote\fR
    86008774that the name of the resource being requested is
     
    86298803.RE
    86308804
     8805send spnego principal (G)
     8806.\" send spnego principal
     8807.PP
     8808.RS 4
     8809This parameter determines whether or not
     8810\fBsmbd\fR(8)
     8811will send the server\-supplied principal sometimes given in the SPNEGO exchange\&.
     8812.sp
     8813If enabled, Samba can attempt to help clients to use Kerberos to contact it, even when known only by IP address or a name not registered with our KDC as a service principal name\&. Kerberos relies on names, so ordinarily cannot function in this situation\&.
     8814.sp
     8815If disabled, Samba will send the string not_defined_in_RFC4178@please_ignore as the \'rfc4178 hint\', following the updated RFC and Windows 2008 behaviour in this area\&.
     8816.sp
     8817Note that Windows XP SP2 and later versions already ignored this value in all circumstances\&.
     8818.sp
     8819Default:
     8820\fI\fIsend spnego principal\fR\fR\fI = \fR\fIno\fR\fI \fR
     8821.RE
     8822
    86318823server schannel (G)
    86328824.\" server schannel
     
    87968988.\}
    879789894 \- group default quotas (gid = \-1)
     8990.RE
    87988991.sp
    87998992.RE
     
    88759068.\}
    887690698(optional) \- block size, defaults to 1024
     9070.RE
    88779071.sp
    88789072.RE
     
    90319225will be substituted with the switch
    90329226\fI\-f\fR\&. It means force the shutdown even if applications do not respond for NT\&.
     9227.RE
    90339228.sp
    90349229.RE
     
    90599254Example:
    90609255\fI\fIshutdown script\fR\fR\fI = \fR\fI/usr/local/samba/sbin/shutdown %m %t %r %f\fR\fI \fR
     9256.RE
     9257
     9258smb2 max credits (G)
     9259.\" smb2 max credits
     9260.PP
     9261.RS 4
     9262This option controls the maximum number of outstanding simultaneous SMB2 operations that Samba tells the client it will allow\&. This is similar to the
     9263\m[blue]\fBmax mux\fR\m[]
     9264parameter for SMB1\&. You should never need to set this parameter\&.
     9265.sp
     9266The default is 8192 credits, which is the same as a Windows 2008R2 SMB2 server\&.
     9267.sp
     9268Default:
     9269\fI\fIsmb2 max credits\fR\fR\fI = \fR\fI128\fR\fI \fR
     9270.RE
     9271
     9272smb2 max read (G)
     9273.\" smb2 max read
     9274.PP
     9275.RS 4
     9276This option specifies the protocol value that
     9277\fBsmbd\fR(8)
     9278will return to a client, informing the client of the largest size that may be returned by a single SMB2 read call\&.
     9279.sp
     9280The default is 1048576 bytes (1MB), which is the same as a Windows7 SMB2 server\&.
     9281.sp
     9282Default:
     9283\fI\fIsmb2 max read\fR\fR\fI = \fR\fI1048576\fR\fI \fR
     9284.RE
     9285
     9286smb2 max trans (G)
     9287.\" smb2 max trans
     9288.PP
     9289.RS 4
     9290This option specifies the protocol value that
     9291\fBsmbd\fR(8)
     9292will return to a client, informing the client of the largest size of buffer that may be used in querying file meta\-data via QUERY_INFO and related SMB2 calls\&.
     9293.sp
     9294The default is 1048576 bytes (1MB), which is the same as a Windows7 SMB2 server\&.
     9295.sp
     9296Default:
     9297\fI\fIsmb2 max trans\fR\fR\fI = \fR\fI1048576\fR\fI \fR
     9298.RE
     9299
     9300smb2 max write (G)
     9301.\" smb2 max write
     9302.PP
     9303.RS 4
     9304This option specifies the protocol value that
     9305\fBsmbd\fR(8)
     9306will return to a client, informing the client of the largest size that may be sent to the server by a single SMB2 write call\&.
     9307.sp
     9308The default is 1048576 bytes (1MB), which is the same as a Windows7 SMB2 server\&.
     9309.sp
     9310Default:
     9311\fI\fIsmb2 max write\fR\fR\fI = \fR\fI1048576\fR\fI \fR
    90619312.RE
    90629313
     
    92619512.\}
    92629513SO_RCVLOWAT *
     9514.RE
    92639515.sp
    92649516.RE
     
    93469598This is a boolean that controls the handling of disk space allocation in the server\&. When this is set to
    93479599\fByes\fR
    9348 the server will change from UNIX behaviour of not committing real disk storage blocks when a file is extended to the Windows behaviour of actually forcing the disk system to allocate real storage blocks when a file is created or extended to be a given size\&. In UNIX terminology this means that Samba will stop creating sparse files\&. This can be slow on some systems\&. When you work with large files like >100MB or so you may even run into problems with clients running into timeouts\&.
     9600the server will change from UNIX behaviour of not committing real disk storage blocks when a file is extended to the Windows behaviour of actually forcing the disk system to allocate real storage blocks when a file is created or extended to be a given size\&. In UNIX terminology this means that Samba will stop creating sparse files\&.
     9601.sp
     9602This option is really desgined for file systems that support fast allocation of large numbers of blocks such as extent\-based file systems\&. On file systems that don\'t support extents (most notably ext3) this can make Samba slower\&. When you work with large files over >100MB on file systems without extents you may even run into problems with clients running into timeouts\&.
    93499603.sp
    93509604When you have an extent based filesystem it\'s likely that we can make use of unwritten extents which allows Samba to allocate even large amounts of space very fast and you will not see any timeout problems caused by strict allocate\&. With strict allocate in use you will also get much better out of quota messages in case you use quotas\&. Another advantage of activating this setting is that it will help to reduce file fragmentation\&.
     
    94919745.PP
    94929746.RS 4
    9493 This parameter is a setting in minutes to add to the normal GMT to local time conversion\&. This is useful if you are serving a lot of PCs that have incorrect daylight saving time handling\&.
    9494 .sp
     9747This deprecated parameter is a setting in minutes to add to the normal GMT to local time conversion\&. This is useful if you are serving a lot of PCs that have incorrect daylight saving time handling\&.
     9748.if n \{\
     9749.sp
     9750.\}
     9751.RS 4
     9752.it 1 an-trap
     9753.nr an-no-space-flag 1
     9754.nr an-break-flag 1
     9755.br
     9756.ps +1
     9757\fBNote\fR
     9758.ps -1
     9759.br
     9760This option is deprecated, and will be removed in the next major release
     9761.sp .5v
     9762.RE
    94959763Default:
    94969764\fI\fItime offset\fR\fR\fI = \fR\fI0\fR\fI \fR
     
    95579825.RE
    95589826
    9559 update encrypted (G)
    9560 .\" update encrypted
    9561 .PP
    9562 .RS 4
    9563 This boolean parameter allows a user logging on with a plaintext password to have their encrypted (hashed) password in the smbpasswd file to be updated automatically as they log on\&. This option allows a site to migrate from plaintext password authentication (users authenticate with plaintext password over the wire, and are checked against a UNIX account database) to encrypted password authentication (the SMB challenge/response authentication mechanism) without forcing all users to re\-enter their passwords via smbpasswd at the time the change is made\&. This is a convenience option to allow the change over to encrypted passwords to be made over a longer period\&. Once all users have encrypted representations of their passwords in the smbpasswd file this parameter should be set to
    9564 \fBno\fR\&.
    9565 .sp
    9566 In order for this parameter to be operative the
    9567 \m[blue]\fBencrypt passwords\fR\m[]
    9568 parameter must be set to
    9569 \fBno\fR\&. The default value of
    9570 \m[blue]\fBencrypt passwords = Yes\fR\m[]\&. Note: This must be set to
    9571 \fBno\fR
    9572 for this
    9573 \m[blue]\fBupdate encrypted\fR\m[]
    9574 to work\&.
    9575 .sp
    9576 Note that even when this parameter is set, a user authenticating to
    9577 smbd
    9578 must still enter a valid password in order to connect correctly, and to update their hashed (smbpasswd) passwords\&.
    9579 .sp
    9580 Default:
    9581 \fI\fIupdate encrypted\fR\fR\fI = \fR\fIno\fR\fI \fR
    9582 .RE
    9583 
    95849827use client driver (S)
    95859828.\" use client driver
     
    96269869Example:
    96279870\fI\fIusername level\fR\fR\fI = \fR\fI5\fR\fI \fR
     9871.RE
     9872
     9873username map cache time (G)
     9874.\" username map cache time
     9875.PP
     9876.RS 4
     9877Mapping usernames with the
     9878\m[blue]\fBusername map\fR\m[]
     9879or
     9880\m[blue]\fBusername map script\fR\m[]
     9881features of Samba can be relatively expensive\&. During login of a user, the mapping is done several times\&. In particular, calling the
     9882\m[blue]\fBusername map script\fR\m[]
     9883can slow down logins if external databases have to be queried from the script being called\&.
     9884.sp
     9885The parameter
     9886\m[blue]\fBusername map cache time\fR\m[]
     9887controls a mapping cache\&. It specifies the number of seconds a mapping from the username map file or script is to be efficiently cached\&. The default of 0 means no caching is done\&.
     9888.sp
     9889Default:
     9890\fI\fIusername map cache time\fR\fR\fI = \fR\fI0\fR\fI \fR
     9891.sp
     9892Example:
     9893\fI\fIusername map cache time\fR\fR\fI = \fR\fI60\fR\fI \fR
    96289894.RE
    96299895
     
    978810054Multiple users may be specified in a comma\-delimited list, in which case the supplied password will be tested against each username in turn (left to right)\&.
    978910055.sp
    9790 The
     10056The deprecated
    979110057\fIusername\fR
    979210058line is needed only when the PC is unable to supply its own username\&. This is the case for the COREPLUS protocol or where your users have different WfWg usernames to UNIX usernames\&. In both these cases you may also be better using the \e\eserver\eshare%user syntax instead\&.
     
    994510211.PP
    994610212.RS 4
    9947 This variable controls controls whether samba will try to use Simple and Protected NEGOciation (as specified by rfc2478) with WindowsXP and Windows2000 clients to agree upon an authentication mechanism\&.
     10213This deprecated variable controls controls whether samba will try to use Simple and Protected NEGOciation (as specified by rfc2478) with WindowsXP and Windows2000 clients to agree upon an authentication mechanism\&.
    994810214.sp
    994910215Unless further issues are discovered with our SPNEGO implementation, there is no reason this should ever be disabled\&.
     
    1024010506.RE
    1024110507
     10508winbind max clients (G)
     10509.\" winbind max clients
     10510.PP
     10511.RS 4
     10512This parameter specifies the maximum number of clients the
     10513\fBwinbindd\fR(8)
     10514daemon can connect with\&.
     10515.sp
     10516Default:
     10517\fI\fIwinbind max clients\fR\fR\fI = \fR\fI200\fR\fI \fR
     10518.RE
     10519
     10520winbind max domain connections (G)
     10521.\" winbind max domain connections
     10522.PP
     10523.RS 4
     10524This parameter specifies the maximum number of simultaneous connections that the
     10525\fBwinbindd\fR(8)
     10526daemon should open to the domain controller of one domain\&. Setting this parameter to a value greater than 1 can improve scalability with many simultaneous winbind requests, some of which might be slow\&.
     10527.sp
     10528Note that if
     10529\m[blue]\fBwinbind offline logon\fR\m[]
     10530is set to
     10531\fBYes\fR, then only one DC connection is allowed per domain, regardless of this setting\&.
     10532.sp
     10533Default:
     10534\fI\fIwinbind max domain connections\fR\fR\fI = \fR\fI1\fR\fI \fR
     10535.sp
     10536Example:
     10537\fI\fIwinbind max domain connections\fR\fR\fI = \fR\fI10\fR\fI \fR
     10538.RE
     10539
    1024210540winbind nested groups (G)
    1024310541.\" winbind nested groups
     
    1029810596\fIidmap config DOMAIN:backend\fR
    1029910597= ad as well\&.
     10598.RE
    1030010599.sp
    1030110600.RE
     
    1040410703This parameter specifies whether the
    1040510704\fBwinbindd\fR(8)
    10406 daemon should operate on users without domain component in their username\&. Users without a domain component are treated as is part of the winbindd server\'s own domain\&. While this does not benifit Windows users, it makes SSH, FTP and e\-mail function in a way much closer to the way they would in a native unix system\&.
     10705daemon should operate on users without domain component in their username\&. Users without a domain component are treated as is part of the winbindd server\'s own domain\&. While this does not benefit Windows users, it makes SSH, FTP and e\-mail function in a way much closer to the way they would in a native unix system\&.
     10706.sp
     10707This option should be avoided if possible\&. It can cause confusion about responsibilities for a user or group\&. In many situations it is not clear whether winbind or /etc/passwd should be seen as authoritative for a user, likewise for groups\&.
    1040710708.sp
    1040810709Default:
     
    1047610777.\}
    1047710778The fifth and subsequent arguments are the IP addresses currently registered for that name\&. If this list is empty then the name should be deleted\&.
     10779.RE
    1047810780.sp
    1047910781.RE
  • trunk/server/docs/manpages/smbcacls.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBCACLS" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBCACLS" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2323.SH "SYNOPSIS"
    2424.HP \w'\ 'u
    25 smbcacls {//server/share} {filename} [\-D\ acls] [\-M\ acls] [\-a\ acls] [\-S\ acls] [\-C\ name] [\-G\ name] [\-\-numeric] [\-t] [\-U\ username] [\-h] [\-d]
     25smbcacls {//server/share} {filename} [\-D|\-\-delete\ acls] [\-M|\-\-modify\ acls] [\-a|\-\-add\ acls] [\-S|\-\-set\ acls] [\-C|\-\-chown\ name] [\-G|\-\-chgrp\ name] [\-I\ allow|romove|copy] [\-\-numeric] [\-t] [\-U\ username] [\-h] [\-d]
    2626.SH "DESCRIPTION"
    2727.PP
     
    7575.sp
    7676This command is a shortcut for \-M GROUP:name\&.
     77.RE
     78.PP
     79\-I|\-\-inherit allow|remove|copy
     80.RS 4
     81Set or unset the windows "Allow inheritable permissions" check box using the
     82\fI\-I\fR
     83option\&. To set the check box pass allow\&. To unset the check box pass either remove or copy\&. Remove will remove all inherited acls\&. Copy will copy all the inherited acls\&.
    7784.RE
    7885.PP
     
    255262.\}
    256263\fB#define SEC_ACE_FLAG_INHERIT_ONLY 0x8\fR
     264.RE
    257265.sp
    258266.RE
     
    332340\fIO\fR
    333341\- Take ownership
     342.RE
    334343.sp
    335344.RE
     
    371380\fIFULL\fR
    372381\- Equivalent to \'RWXDPO\' permissions
     382.RE
    373383.SH "EXIT STATUS"
    374384.PP
  • trunk/server/docs/manpages/smbclient.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBCLIENT" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBCLIENT" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    133133\fIinterfaces\fR
    134134parameter\&. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet\&.
     135.RE
    135136.sp
    136137.RE
     
    191192.RE
    192193.PP
    193 \-P
     194\-P|\-\-machine\-pass
    194195.RS 4
    195196Make queries to the external server using the machine account of the local server\&.
     
    234235.RE
    235236.PP
    236 \-e
     237\-e|\-\-encrypt
    237238.RS 4
    238239This command line parameter requires the remote server support the UNIX extensions\&. Request that the connection be encrypted\&. This is new for Samba 3\&.2 and will only work with Samba 3\&.2 or above servers\&. Negotiates SMB encryption using GSSAPI\&. Uses the given credentials for the encryption negotiaion (either kerberos or NTLMv1/v2 if given domain/username/password triple\&. Fails the connection if encryption cannot be negotiated\&.
     
    522523\fIc\fR
    523524flags\&.
     525.RE
    524526.sp
    525527.RE
     
    570572.RE
    571573.PP
    572 \-c|\-\-comand command string
     574\-c|\-\-command command string
    573575.RS 4
    574576command string is a semicolon\-separated list of commands to be executed instead of prompting from stdin\&.
  • trunk/server/docs/manpages/smbcontrol.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBCONTROL" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBCONTROL" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    236236\fBwinbindd\fR\&.
    237237.RE
     238.PP
     239idmap
     240.RS 4
     241Notify about changes of id mapping\&. Can be sent to
     242\fBsmbd\fR
     243or (not implemented yet)
     244\fBwinbindd\fR\&.
     245.PP
     246flush [uid|gid]
     247.RS 4
     248Flush caches for sid <\-> gid and/or sid <\-> uid mapping\&.
     249.RE
     250.PP
     251delete <ID>
     252.RS 4
     253Remove a mapping from cache\&. The mapping is given by <ID> which may either be a sid: S\-x\-\&.\&.\&., a gid: "GID number" or a uid: "UID number"\&.
     254.RE
     255.PP
     256kill <ID>
     257.RS 4
     258Remove a mapping from cache\&. Terminate
     259\fBsmbd\fR
     260if the id is currently in use\&.
     261.RE
     262.RE
    238263.SH "VERSION"
    239264.PP
  • trunk/server/docs/manpages/smbcquotas.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBCQUOTAS" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBCQUOTAS" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/smbd.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBD" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "SMBD" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    223223.\}
    224224\fISession Management\fR: When not using share level secuirty, users must pass PAM\'s session checks before access is granted\&. Note however, that this is bypassed in share level secuirty\&. Note also that some older pam configuration files may need a line added for session support\&.
     225.RE
    225226.SH "VERSION"
    226227.PP
  • trunk/server/docs/manpages/smbget.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBGET" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBGET" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    9898\-f, \-\-rcfile
    9999.RS 4
    100 Use specified rcfile\&. This will be loaded in the order it was specified \- e\&.g\&. if you specify any options before this one, they might get overriden by the contents of the rcfile\&.
     100Use specified rcfile\&. This will be loaded in the order it was specified \- e\&.g\&. if you specify any options before this one, they might get overridden by the contents of the rcfile\&.
    101101.RE
    102102.PP
  • trunk/server/docs/manpages/smbgetrc.5

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: File Formats and Conventions
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBGETRC" "5" "08/02/2011" "Samba 3\&.5" "File Formats and Conventions"
     10.TH "SMBGETRC" "5" "08/08/2011" "Samba 3\&.6" "File Formats and Conventions"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/smbpasswd.5

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: File Formats and Conventions
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBPASSWD" "5" "08/02/2011" "Samba 3\&.5" "File Formats and Conventions"
     10.TH "SMBPASSWD" "5" "08/08/2011" "Samba 3\&.6" "File Formats and Conventions"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    140140\fIW\fR
    141141\- This means this account is a "Workstation Trust" account\&. This kind of account is used in the Samba PDC code stream to allow Windows NT Workstations and Servers to join a Domain hosted by a Samba PDC\&.
     142.RE
    142143.sp
    143144.RE
  • trunk/server/docs/manpages/smbpasswd.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBPASSWD" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "SMBPASSWD" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    206206\fIinterfaces\fR
    207207parameter\&. This is the least reliable of the name resolution methods as it depends on the target host being on a locally connected subnet\&.
     208.RE
    208209.sp
    209210.RE
  • trunk/server/docs/manpages/smbspool.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBSPOOL" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "SMBSPOOL" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    7878.\}
    7979smb://username:password@workgroup/server[:port]/printer
     80.RE
    8081.sp
    8182.RE
     
    159160.\}
    160161The filename argument (argv[6]) contains the name of the file to print\&. If this argument is not specified then the print file is read from the standard input\&.
     162.RE
    161163.SH "VERSION"
    162164.PP
  • trunk/server/docs/manpages/smbstatus.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBSTATUS" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBSTATUS" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/smbtar.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBTAR" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBTAR" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/smbtree.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMBTREE" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "SMBTREE" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/swat.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SWAT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "SWAT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    153153.\}
    154154/usr/local/samba/swat/help/*
     155.RE
    155156.sp
    156157.RE
  • trunk/server/docs/manpages/tdbbackup.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "TDBBACKUP" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "TDBBACKUP" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    105105*\&.tdb
    106106located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories\&.
     107.RE
    107108.SH "VERSION"
    108109.PP
  • trunk/server/docs/manpages/tdbdump.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "TDBDUMP" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "TDBDUMP" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/tdbtool.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "TDBTOOL" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "TDBTOOL" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/testparm.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "TESTPARM" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "TESTPARM" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2323.SH "SYNOPSIS"
    2424.HP \w'\ 'u
    25 testparm [\-s] [\-h] [\-v] [\-L\ <servername>] [\-t\ <encoding>] {config\ filename} [hostname\ hostIP]
     25testparm [\-s] [\-h] [\-v] [\-t\ <encoding>] {config\ filename} [hostname\ hostIP]
    2626.SH "DESCRIPTION"
    2727.PP
     
    6666.RS 4
    6767Prints the program version number\&.
    68 .RE
    69 .PP
    70 \-L servername
    71 .RS 4
    72 Sets the value of the %L macro to
    73 \fIservername\fR\&. This is useful for testing include files specified with the %L macro\&.
    7468.RE
    7569.PP
  • trunk/server/docs/manpages/vfs_acl_tdb.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_ACL_TDB" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_ACL_TDB" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_acl_xattr.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_ACL_XATTR" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_ACL_XATTR" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_audit.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_AUDIT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_AUDIT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_cacheprime.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_CACHEPRIME" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_CACHEPRIME" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    8181G
    8282\- BYTES is a number of gigabytes
     83.RE
    8384.sp
    8485.RE
  • trunk/server/docs/manpages/vfs_cap.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_CAP" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_CAP" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_catia.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_CATIA" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_CATIA" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_commit.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_COMMIT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_COMMIT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    8080G
    8181\- BYTES is a number of gigabytes
     82.RE
    8283.sp
    8384.RE
  • trunk/server/docs/manpages/vfs_default_quota.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_DEFAULT_QUOTA" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_DEFAULT_QUOTA" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_dirsort.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_DIRSORT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_DIRSORT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_extd_audit.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_EXTD_AUDIT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_EXTD_AUDIT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_fake_perms.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_FAKE_PERMS" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_FAKE_PERMS" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_fileid.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_FILEID" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_FILEID" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_full_audit.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_FULL_AUDIT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_FULL_AUDIT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    386386FILE
    387387\- the name of the file or directory the operation was performed on
     388.RE
    388389.sp
    389390.RE
     
    400401vfs_full_audit:success = LIST
    401402.RS 4
    402 LIST is a list of VFS operations that should be recorded if they succeed\&. Operations are specified using the names listed above\&.
     403LIST is a list of VFS operations that should be recorded if they succeed\&. Operations are specified using the names listed above\&. Operations can be unset by prefixing the names with "!"\&.
    403404.RE
    404405.PP
    405406vfs_full_audit:failure = LIST
    406407.RS 4
    407 LIST is a list of VFS operations that should be recorded if they failed\&. Operations are specified using the names listed above\&.
     408LIST is a list of VFS operations that should be recorded if they failed\&. Operations are specified using the names listed above\&. Operations can be unset by prefixing the names with "!"\&.
    408409.RE
    409410.PP
     
    423424.SH "EXAMPLES"
    424425.PP
    425 Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including the username and IP address:
     426Log file and directory open operations on the [records] share using the LOCAL7 facility and ALERT priority, including the username and IP address\&. Logging excludes the open VFS function on failures:
    426427.sp
    427428.if n \{\
     
    434435        \m[blue]\fBfull_audit:prefix = %u|%I\fR\m[]
    435436        \m[blue]\fBfull_audit:success = open opendir\fR\m[]
    436         \m[blue]\fBfull_audit:failure = all\fR\m[]
     437        \m[blue]\fBfull_audit:failure = all !open\fR\m[]
    437438        \m[blue]\fBfull_audit:facility = LOCAL7\fR\m[]
    438439        \m[blue]\fBfull_audit:priority = ALERT\fR\m[]
  • trunk/server/docs/manpages/vfs_gpfs.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_GPFS" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_GPFS" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    6767.\}
    6868Lease support on GPFS
     69.RE
    6970.sp
    7071.RE
     
    7576.SH "OPTIONS"
    7677.PP
     78gpfs:sharemodes = [ yes | no ]
     79.RS 4
     80Enable/Disable cross node sharemode handling for GPFS\&.
     81.sp
     82.RS 4
     83.ie n \{\
     84\h'-04'\(bu\h'+03'\c
     85.\}
     86.el \{\
     87.sp -1
     88.IP \(bu 2.3
     89.\}
     90
     91yes(default)
     92\- propagate sharemodes across all GPFS nodes\&.
     93.RE
     94.sp
     95.RS 4
     96.ie n \{\
     97\h'-04'\(bu\h'+03'\c
     98.\}
     99.el \{\
     100.sp -1
     101.IP \(bu 2.3
     102.\}
     103
     104no
     105\- do not propagate sharemodes across all GPFS nodes\&. This should only be used if the GPFS file system is exclusively exported by Samba\&. Access by local unix application or NFS exports could lead to corrupted files\&.
     106.RE
     107.sp
     108.RE
     109.RE
     110.PP
     111gpfs:leases = [ yes | no ]
     112.RS 4
     113Enable/Disable cross node leases (oplocks) for GPFS\&. You should also set the
     114oplocks
     115and
     116kernel oplocks
     117options to the same value\&.
     118.sp
     119.RS 4
     120.ie n \{\
     121\h'-04'\(bu\h'+03'\c
     122.\}
     123.el \{\
     124.sp -1
     125.IP \(bu 2.3
     126.\}
     127
     128yes(default)
     129\- propagate leases across all GPFS nodes\&.
     130.RE
     131.sp
     132.RS 4
     133.ie n \{\
     134\h'-04'\(bu\h'+03'\c
     135.\}
     136.el \{\
     137.sp -1
     138.IP \(bu 2.3
     139.\}
     140
     141no
     142\- do not propagate leases across all GPFS nodes\&. This should only be used if the GPFS file system is exclusively exported by Samba\&. Access by local unix application or NFS exports could lead to corrupted files\&.
     143.RE
     144.sp
     145.RE
     146.RE
     147.PP
     148gpfs:hsm = [ yes | no ]
     149.RS 4
     150Enable/Disable announcing if this FS has HSM enabled\&.
     151.sp
     152.RS 4
     153.ie n \{\
     154\h'-04'\(bu\h'+03'\c
     155.\}
     156.el \{\
     157.sp -1
     158.IP \(bu 2.3
     159.\}
     160
     161no(default)
     162\- Do not announce HSM\&.
     163.RE
     164.sp
     165.RS 4
     166.ie n \{\
     167\h'-04'\(bu\h'+03'\c
     168.\}
     169.el \{\
     170.sp -1
     171.IP \(bu 2.3
     172.\}
     173
     174no
     175\- Announce HSM\&.
     176.RE
     177.sp
     178.RE
     179.RE
     180.PP
     181gpfs:getrealfilename = [ yes | no ]
     182.RS 4
     183Enable/Disable usage of the
     184gpfs_get_realfilename_path()
     185function\&. This improves the casesensitive wildcard file name access\&.
     186.sp
     187.RS 4
     188.ie n \{\
     189\h'-04'\(bu\h'+03'\c
     190.\}
     191.el \{\
     192.sp -1
     193.IP \(bu 2.3
     194.\}
     195
     196yes(default)
     197\- use
     198gpfs_get_realfilename_path()\&.
     199.RE
     200.sp
     201.RS 4
     202.ie n \{\
     203\h'-04'\(bu\h'+03'\c
     204.\}
     205.el \{\
     206.sp -1
     207.IP \(bu 2.3
     208.\}
     209
     210no
     211\- do not use
     212gpfs_get_realfilename_path()\&. It seems that
     213gpfs_get_realfilename_path()
     214doesn\'t work on AIX\&.
     215.RE
     216.sp
     217.RE
     218.RE
     219.PP
     220gpfs:winattr = [ yes | no ]
     221.RS 4
     222Enable/Disable usage of the windows attributes in GPFS\&. GPFS is able to store windows file attributes e\&.g\&. HIDDEN, READONLY, SYSTEM and others natively\&. That means Samba doesn\'t need to map them to permission bits or extended attributes\&.
     223.sp
     224.RS 4
     225.ie n \{\
     226\h'-04'\(bu\h'+03'\c
     227.\}
     228.el \{\
     229.sp -1
     230.IP \(bu 2.3
     231.\}
     232
     233no(default)
     234\- do not use GPFS windows attributes\&.
     235.RE
     236.sp
     237.RS 4
     238.ie n \{\
     239\h'-04'\(bu\h'+03'\c
     240.\}
     241.el \{\
     242.sp -1
     243.IP \(bu 2.3
     244.\}
     245
     246yes
     247\- use GPFS windows attributes\&.
     248.RE
     249.sp
     250.RE
     251.RE
     252.PP
     253gpfs:merge_writeappend = [ yes | no ]
     254.RS 4
     255GPFS ACLs doesn\'t know about the \'APPEND\' right\&. This optionen lets Samba map the \'APPEND\' right to \'WRITE\'\&.
     256.sp
     257.RS 4
     258.ie n \{\
     259\h'-04'\(bu\h'+03'\c
     260.\}
     261.el \{\
     262.sp -1
     263.IP \(bu 2.3
     264.\}
     265
     266yes(default)
     267\- map \'APPEND\' to \'WRITE\'\&.
     268.RE
     269.sp
     270.RS 4
     271.ie n \{\
     272\h'-04'\(bu\h'+03'\c
     273.\}
     274.el \{\
     275.sp -1
     276.IP \(bu 2.3
     277.\}
     278
     279no
     280\- do not map \'APPEND\' to \'WRITE\'\&.
     281.RE
     282.sp
     283.RE
     284.RE
     285.PP
     286gpfs:refuse_dacl_protected = [ yes | no ]
     287.RS 4
     288As GPFS does not support the ACE4_FLAG_NO_PROPAGATE NFSv4 flag (which would be the mapping for the DESC_DACL_PROTECTED flag), the status of this flag is currently silently ignored by Samba\&. That means that if you deselect the "Allow inheritable permissions\&.\&.\&." checkbox in Windows\' ACL dialog and then apply the ACL, the flag will be back immediately\&.
     289.sp
     290To make sure that automatic migration with e\&.g\&. robocopy does not lead to ACLs silently (and unintentionally) changed, you can set
     291gpfs:refuse_dacl_protected = yes
     292to enable an explicit check for this flag and if set, it will return NT_STATUS_NOT_SUPPORTED so errors are shown up on the Windows side and the Administrator is aware of the ACLs not being settable like intended
     293.sp
     294.RS 4
     295.ie n \{\
     296\h'-04'\(bu\h'+03'\c
     297.\}
     298.el \{\
     299.sp -1
     300.IP \(bu 2.3
     301.\}
     302
     303no(default)
     304\- ignore the DESC_DACL_PROTECTED flags\&.
     305.RE
     306.sp
     307.RS 4
     308.ie n \{\
     309\h'-04'\(bu\h'+03'\c
     310.\}
     311.el \{\
     312.sp -1
     313.IP \(bu 2.3
     314.\}
     315
     316yes
     317\- reject ACLs with DESC_DACL_PROTECTED\&.
     318.RE
     319.sp
     320.RE
     321.RE
     322.PP
    77323nfs4:mode = [ simple | special ]
    78324.RS 4
     
    103349special
    104350\- use special IDs in GPFS ACEs\&.
     351.RE
    105352.sp
    106353.RE
     
    159406merge
    160407\- bitwise OR the 2 ace\&.flag fields and 2 ace\&.mask fields of the 2 duplicate ACEs into 1 ACE
     408.RE
    161409.sp
    162410.RE
     
    193441no (default)
    194442\- Disable chown
     443.RE
     444.sp
     445.RE
     446.RE
     447.PP
     448gpfs:syncio = [yes|no]
     449.RS 4
     450This parameter makes Samba open all files with O_SYNC\&. This triggers optimizations in GPFS for workloads that heavily share files\&.
     451.sp
     452Following is the behaviour of Samba for different values:
     453.sp
     454.RS 4
     455.ie n \{\
     456\h'-04'\(bu\h'+03'\c
     457.\}
     458.el \{\
     459.sp -1
     460.IP \(bu 2.3
     461.\}
     462yesOpen files with O_SYNC
     463.RE
     464.sp
     465.RS 4
     466.ie n \{\
     467\h'-04'\(bu\h'+03'\c
     468.\}
     469.el \{\
     470.sp -1
     471.IP \(bu 2.3
     472.\}
     473no (default)Open files as normal Samba would do
     474.RE
    195475.sp
    196476.RE
     
    215495.SH "CAVEATS"
    216496.PP
    217 The gpfs gpl libraries are required by
     497Depending on the version of gpfs, the
     498libgpfs_gpl
     499library or the
     500libgpfs
     501library is needed at runtime by the
    218502gpfs
    219 VFS module during both compilation and runtime\&. Also this VFS module is tested to work on SLES 9/10 and RHEL 4\&.4
     503VFS module: Starting with gpfs 3\&.2\&.1 PTF8, the complete
     504libgpfs
     505is available as open source and
     506libgpfs_gpl
     507does no longer exist\&. With earlier versions of gpfs, only the
     508libgpfs_gpl
     509library was open source and could be used at run time\&.
     510.PP
     511At build time, only the header file
     512gpfs_gpl\&.h
     513is required , which is a symlink to
     514gpfs\&.h
     515in gpfs versions newer than 3\&.2\&.1 PTF8\&.
    220516.SH "VERSION"
    221517.PP
  • trunk/server/docs/manpages/vfs_netatalk.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_NETATALK" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_NETATALK" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_notify_fam.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_NOTIFY_FAM" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_NOTIFY_FAM" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_prealloc.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_PREALLOC" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_PREALLOC" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    7777G
    7878\- BYTES is a number of gigabytes
     79.RE
    7980.sp
    8081.RE
  • trunk/server/docs/manpages/vfs_preopen.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_PREOPEN" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_PREOPEN" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_readahead.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_READAHEAD" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_READAHEAD" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    9191G
    9292\- BYTES is a number of gigabytes
     93.RE
    9394.SH "EXAMPLES"
    9495.sp
  • trunk/server/docs/manpages/vfs_readonly.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_READONLY" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_READONLY" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_recycle.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_RECYCLE" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_RECYCLE" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_scannedonly.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_SCANNEDONLY" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_SCANNEDONLY" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    150150.SH "VERSION"
    151151.PP
    152 This man page is correct for version 3\&.5\&.0 of the Samba suite\&.
     152This man page is correct for version 3\&.6\&.0 of the Samba suite\&.
    153153.SH "AUTHOR"
    154154.PP
  • trunk/server/docs/manpages/vfs_shadow_copy.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_SHADOW_COPY" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_SHADOW_COPY" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    115115ss
    116116is the 2 digit second\&.
     117.RE
    117118.sp
    118119.RE
  • trunk/server/docs/manpages/vfs_shadow_copy2.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_SHADOW_COPY2" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_SHADOW_COPY2" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    141141ss
    142142is the 2 digit second\&.
     143.RE
    143144.sp
    144145.RE
     
    170171.RS 4
    171172Path to the base directory that snapshots are from\&.
     173.RE
     174.PP
     175shadow:sort = asc/desc, or not specified for unsorted (default)
     176.RS 4
     177By this parameter one can specify that the shadow copy directories should be sorted before they are sent to the client\&. This can be beneficial as unix filesystems are usually not listed alphabetically sorted\&. If enabled, you typically want to specify descending order\&.
     178.RE
     179.PP
     180shadow:localtime = yes/no
     181.RS 4
     182This is an optional parameter that indicates whether the snapshot names are in UTC/GMT or in local time\&. By default UTC is expected\&.
     183.RE
     184.PP
     185shadow:format = format specification for snapshot names
     186.RS 4
     187This is an optional parameter that specifies the format specification for the naming of snapshots\&. The format must be compatible with the conversion specifications recognized by str[fp]time\&. The default value is "@GMT\-%Y\&.%m\&.%d\-%H\&.%M\&.%S"\&.
    172188.RE
    173189.PP
     
    190206        \m[blue]\fBshadow:snapdir = /data/snaphots\fR\m[]
    191207        \m[blue]\fBshadow:basedir = /data/home\fR\m[]
     208        \m[blue]\fBshadow:sort = desc\fR\m[]
    192209.fi
    193210.if n \{\
  • trunk/server/docs/manpages/vfs_smb_traffic_analyzer.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "SMB_TRAFFIC_ANALYZER" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "SMB_TRAFFIC_ANALYZER" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    3232The
    3333vfs_smb_traffic_analyzer
    34 VFS module logs client write and read operations on a Samba server and sends this data over a socket to a helper program, which feeds a SQL database\&. More information on the helper programs can be obtained from the homepage of the project at: http://holger123\&.wordpress\&.com/smb\-traffic\-analyzer/
     34VFS module logs client file operations on a Samba server and sends this data over a socket to a helper program (in the following the "Receiver"), which feeds a SQL database\&. More information on the helper programs can be obtained from the homepage of the project at: http://holger123\&.wordpress\&.com/smb\-traffic\-analyzer/ Since the VFS module depends on a receiver that is doing something with the data, it is evolving in it\'s development\&. Therefore, the module works with different protocol versions, and the receiver has to be able to decode the protocol that is used\&. The protocol version 1 was introduced to Samba at September 25, 2008\&. It was a very simple protocol, supporting only a small list of VFS operations, and had several drawbacks\&. The protocol version 2 is a try to solve the problems version 1 had while at the same time adding new features\&. With the release of Samba 3\&.6\&.0, the module will run protocol version 2 by default\&.
     35.SH "PROTOCOL VERSION 1 DOCUMENTATION"
    3536.PP
    3637vfs_smb_traffic_analyzer
    37 currently is aware of the following VFS operations:
     38protocol version 1 is aware of the following VFS operations:
    3839.RS 4
    3940write
     
    147148TIMESTAMP
    148149\- a timestamp, formatted as "yyyy\-mm\-dd hh\-mm\-ss\&.ms" indicating when the VFS operation occured
     150.RE
     151.sp
     152.RS 4
     153.ie n \{\
     154\h'-04'\(bu\h'+03'\c
     155.\}
     156.el \{\
     157.sp -1
     158.IP \(bu 2.3
     159.\}
     160IP
     161\- The IP Address (v4 or v6) of the client machine that initiated the VFS operation\&.
     162.RE
    149163.sp
    150164.RE
    151165.PP
    152166This module is stackable\&.
    153 .SH "OPTIONS"
     167.SH "DRAWBACKS OF PROTOCOL VERSION 1"
     168.PP
     169Several drawbacks have been seen with protocol version 1 over time\&.
     170.sp
     171.RS 4
     172.ie n \{\
     173\h'-04'\(bu\h'+03'\c
     174.\}
     175.el \{\
     176.sp -1
     177.IP \(bu 2.3
     178.\}
     179
     180Problematic parsing \-
     181Protocol version 1 uses hyphen and comma to seperate blocks of data\&. Once there is a filename with a hyphen, you will run into problems because the receiver decodes the data in a wrong way\&.
     182.RE
     183.sp
     184.RS 4
     185.ie n \{\
     186\h'-04'\(bu\h'+03'\c
     187.\}
     188.el \{\
     189.sp -1
     190.IP \(bu 2.3
     191.\}
     192
     193Insecure network transfer \-
     194Protocol version 1 sends all it\'s data as plaintext over the network\&.
     195.RE
     196.sp
     197.RS 4
     198.ie n \{\
     199\h'-04'\(bu\h'+03'\c
     200.\}
     201.el \{\
     202.sp -1
     203.IP \(bu 2.3
     204.\}
     205
     206Limited set of supported VFS operations \-
     207Protocol version 1 supports only four VFS operations\&.
     208.RE
     209.sp
     210.RS 4
     211.ie n \{\
     212\h'-04'\(bu\h'+03'\c
     213.\}
     214.el \{\
     215.sp -1
     216.IP \(bu 2.3
     217.\}
     218
     219No subreleases of the protocol \-
     220Protocol version 1 is fixed on it\'s version, making it unable to introduce new features or bugfixes through compatible sub\-releases\&.
     221.RE
     222.SH "VERSION 2 OF THE PROTOCOL"
     223.PP
     224Protocol version 2 is an approach to solve the problems introduced with protcol v1\&. From the users perspective, the following changes are most prominent among other enhancements:
     225.sp
     226.RS 4
     227.ie n \{\
     228\h'-04'\(bu\h'+03'\c
     229.\}
     230.el \{\
     231.sp -1
     232.IP \(bu 2.3
     233.\}
     234The data from the module may be send encrypted, with a key stored in secrets\&.tdb\&. The Receiver then has to use the same key\&. The module does AES block encryption over the data to send\&.
     235.RE
     236.sp
     237.RS 4
     238.ie n \{\
     239\h'-04'\(bu\h'+03'\c
     240.\}
     241.el \{\
     242.sp -1
     243.IP \(bu 2.3
     244.\}
     245The module now can identify itself against the receiver with a sub\-release number, where the receiver may run with a different sub\-release number than the module\&. However, as long as both run on the V2\&.x protocol, the receiver will not crash, even if the module uses features only implemented in the newer subrelease\&. If the module uses a new feature from a newer subrelease, and the receiver runs an older protocol, it is just ignoring the functionality\&. Of course it is best to have both the receiver and the module running the same subrelease of the protocol\&.
     246.RE
     247.sp
     248.RS 4
     249.ie n \{\
     250\h'-04'\(bu\h'+03'\c
     251.\}
     252.el \{\
     253.sp -1
     254.IP \(bu 2.3
     255.\}
     256The parsing problems of protocol V1 can no longer happen, because V2 is marshalling the data packages in a proper way\&.
     257.RE
     258.sp
     259.RS 4
     260.ie n \{\
     261\h'-04'\(bu\h'+03'\c
     262.\}
     263.el \{\
     264.sp -1
     265.IP \(bu 2.3
     266.\}
     267The module now potientially has the ability to create data on every VFS function\&. As of protocol V2\&.0, there is support for 8 VFS functions, namely write,read,pread,pwrite, rename,chdir,mkdir and rmdir\&. Supporting more VFS functions is one of the targets for the upcoming sub\-releases\&.
     268.RE
     269.sp
     270.RE
     271.PP
     272To enable protocol V2, the protocol_version vfs option has to be used (see OPTIONS)\&.
     273.SH "OPTIONS WITH PROTOCOL V1 AND V2.X"
    154274.PP
    155275smb_traffic_analyzer:mode = STRING
     
    170290smb_traffic_analyzer:anonymize_prefix = STRING
    171291.RS 4
    172 The module will replace the user names with a prefix given by STRING and a simple hash number\&.
     292The module will replace the user names with a prefix given by STRING and a simple hash number\&. In version 2\&.x of the protocol, the users SID will also be anonymized\&.
    173293.RE
    174294.PP
    175295smb_traffic_analyzer:total_anonymization = STRING
    176296.RS 4
    177 If STRING matches to \'yes\', the module will replace any user name with the string given by the option smb_traffic_analyzer:anonymize_prefix, without generating an additional hash number\&. This means that any transfer data will be mapped to a single user, leading to a total anonymization of user related data\&.
     297If STRING matches to \'yes\', the module will replace any user name with the string given by the option smb_traffic_analyzer:anonymize_prefix, without generating an additional hash number\&. This means that any transfer data will be mapped to a single user, leading to a total anonymization of user related data\&. In version 2\&.x of the protocol, the users SID will also be anonymized\&.
     298.RE
     299.PP
     300smb_traffic_analyzer:protocol_version = STRING
     301.RS 4
     302If STRING matches to V1, the module will use version 1 of the protocol\&. If STRING is not given, the module will use version 2 of the protocol, which is the default\&.
    178303.RE
    179304.SH "EXAMPLES"
     305.PP
     306Running protocol V2 on share "example_share", using an internet socket\&.
     307.sp
     308.if n \{\
     309.RS 4
     310.\}
     311.nf
     312        \fI[example_share]\fR
     313        \m[blue]\fBpath = /data/example\fR\m[]
     314        \m[blue]\fBvfs_objects = smb_traffic_analyzer\fR\m[]
     315        \m[blue]\fBsmb_traffic_analyzer:host = examplehost\fR\m[]
     316        \m[blue]\fBsmb_traffic_analyzer:port = 3491\fR\m[]
     317       
     318.fi
     319.if n \{\
     320.RE
     321.\}
    180322.PP
    181323The module running on share "example_share", using a unix domain socket
  • trunk/server/docs/manpages/vfs_streams_depot.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_STREAMS_DEPOT" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_STREAMS_DEPOT" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_streams_xattr.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_STREAMS_XATTR" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_STREAMS_XATTR" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfs_xattr_tdb.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFS_XATTR_TDB" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "VFS_XATTR_TDB" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/vfstest.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "VFSTEST" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "VFSTEST" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    519519realpath
    520520\- VFS realpath()
     521.RE
    521522.sp
    522523.RE
     
    582583exit
    583584\- Exit vfstest
     585.RE
    584586.SH "VERSION"
    585587.PP
  • trunk/server/docs/manpages/wbinfo.1

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: User Commands
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "WBINFO" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
     10.TH "WBINFO" "1" "08/08/2011" "Samba 3\&.6" "User Commands"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    2323.SH "SYNOPSIS"
    2424.HP \w'\ 'u
    25 wbinfo [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-c] [\-\-ccache\-save] [\-\-change\-user\-password] [\-D\ domain] [\-\-domain\ domain] [\-\-dsgetdcname\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-\-gid\-info] [\-\-group\-info] [\-\-help|\-?] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-\-lanman] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-ntlmv2] [\-\-online\-status] [\-\-own\-domain] [\-p] [\-P|\-\-ping\-dc] [\-r\ user] [\-R|\-\-lookup\-rids] [\-\-remove\-uid\-mapping\ uid,sid] [\-\-remove\-gid\-mapping\ gid,sid] [\-s\ sid] [\-\-separator] [\-\-sequence] [\-\-set\-auth\-user\ user%password] [\-\-set\-uid\-mapping\ uid,sid] [\-\-set\-gid\-mapping\ gid,sid] [\-S\ sid] [\-\-sid\-aliases] [\-\-sid\-to\-fullname] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-usage] [\-\-user\-domgroups\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-\-verbose] [\-Y\ sid]
     25wbinfo [\-a\ user%password] [\-\-all\-domains] [\-\-allocate\-gid] [\-\-allocate\-uid] [\-c] [\-\-ccache\-save] [\-\-change\-user\-password] [\-D\ domain] [\-\-domain\ domain] [\-\-dsgetdcname\ domain] [\-g] [\-\-getdcname\ domain] [\-\-get\-auth\-user] [\-G\ gid] [\-\-gid\-info] [\-\-group\-info] [\-\-help|\-?] [\-i\ user] [\-I\ ip] [\-K\ user%password] [\-\-lanman] [\-m] [\-n\ name] [\-N\ netbios\-name] [\-\-ntlmv2] [\-\-online\-status] [\-\-own\-domain] [\-p] [\-P|\-\-ping\-dc] [\-r\ user] [\-R|\-\-lookup\-rids] [\-s\ sid] [\-\-separator] [\-\-set\-auth\-user\ user%password] [\-S\ sid] [\-\-sid\-aliases] [\-\-sid\-to\-fullname] [\-t] [\-u] [\-\-uid\-info\ uid] [\-\-usage] [\-\-user\-domgroups\ sid] [\-\-user\-sids\ sid] [\-U\ uid] [\-V] [\-\-verbose] [\-Y\ sid]
    2626.SH "DESCRIPTION"
    2727.PP
     
    102102\fBwinbindd\fR(8)
    103103belongs\&. Currently only the
    104 \fB\-\-sequence\fR,
    105104\fB\-u\fR, and
    106105\fB\-g\fR
     
    235234\fBwinbindd\fR(8)
    236235is still alive\&. Prints out either \'succeeded\' or \'failed\'\&.
     236.RE
     237.PP
     238\-P|\-\-ping\-dc
     239.RS 4
     240Issue a no\-effect command to our DC\&. This checks if our secure channel connection to our domain controller is still alive\&. It has much less impact than wbinfo \-t\&.
    237241.RE
    238242.PP
     
    261265.RE
    262266.PP
    263 \-\-sequence
    264 .RS 4
    265 Show sequence numbers of all known domains\&.
    266 .RE
    267 .PP
    268267\-\-set\-auth\-user \fIusername%password\fR
    269268.RS 4
     
    328327\-U|\-\-uid\-to\-sid \fIuid\fR
    329328.RS 4
    330 Try to convert a UNIX user id to a Windows NT SID\&. If the uid specified does not refer to one within the idmap uid range then the operation will fail\&.
     329Try to convert a UNIX user id to a Windows NT SID\&. If the uid specified does not refer to one within the idmap range then the operation will fail\&.
    331330.RE
    332331.PP
     
    341340\fBwinbindd\fR(8)
    342341then the operation will fail\&.
    343 .RE
    344 .PP
    345 \-\-remove\-uid\-mapping uid,sid
    346 .RS 4
    347 Remove an existing uid to sid mapping entry from the IDmap backend\&.
    348 .RE
    349 .PP
    350 \-\-remove\-gid\-mapping gid,sid
    351 .RS 4
    352 Remove an existing gid to sid mapping entry from the IDmap backend\&.
    353 .RE
    354 .PP
    355 \-\-set\-uid\-mapping uid,sid
    356 .RS 4
    357 Create a new or modify an existing uid to sid mapping in the IDmap backend\&.
    358 .RE
    359 .PP
    360 \-\-set\-gid\-mapping gid,sid
    361 .RS 4
    362 Create a new or modify an existing gid to sid mapping in the IDmap backend\&.
    363342.RE
    364343.PP
  • trunk/server/docs/manpages/winbind_krb5_locator.7

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: 7
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "WINBIND_KRB5_LOCATOR" "7" "08/02/2011" "Samba 3\&.5" "7"
     10.TH "WINBIND_KRB5_LOCATOR" "7" "08/08/2011" "Samba 3\&.6" "7"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
  • trunk/server/docs/manpages/winbindd.8

    r620 r745  
    33.\"    Author: [see the "AUTHOR" section]
    44.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
    5 .\"      Date: 08/02/2011
     5.\"      Date: 08/08/2011
    66.\"    Manual: System Administration tools
    7 .\"    Source: Samba 3.5
     7.\"    Source: Samba 3.6
    88.\"  Language: English
    99.\"
    10 .TH "WINBINDD" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
     10.TH "WINBINDD" "8" "08/08/2011" "Samba 3\&.6" "System Administration tools"
    1111.\" -----------------------------------------------------------------
    1212.\" * set default formatting
     
    4040and the
    4141pam_winbind\&.so
    42 PAM module, by managing connections to domain controllers\&. In this configuraiton the
    43 \m[blue]\fBidmap uid\fR\m[]
    44 and
    45 \m[blue]\fBidmap gid\fR\m[]
    46 parameters are not required\&. (This is known as `netlogon proxy only mode\'\&.)
     42PAM module, by managing connections to domain controllers\&. In this configuration the
     43\m[blue]\fBidmap config * : range\fR\m[]
     44parameter is not required\&. (This is known as `netlogon proxy only mode\'\&.)
    4745.PP
    4846The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS\&. The exact behaviour can be configured through the
     
    266264.\}
    267265
    268 \m[blue]\fBidmap uid\fR\m[]
    269 .RE
    270 .sp
    271 .RS 4
    272 .ie n \{\
    273 \h'-04'\(bu\h'+03'\c
    274 .\}
    275 .el \{\
    276 .sp -1
    277 .IP \(bu 2.3
    278 .\}
    279 
    280 \m[blue]\fBidmap gid\fR\m[]
    281 .RE
    282 .sp
    283 .RS 4
    284 .ie n \{\
    285 \h'-04'\(bu\h'+03'\c
    286 .\}
    287 .el \{\
    288 .sp -1
    289 .IP \(bu 2.3
    290 .\}
    291 
    292 \m[blue]\fBidmap backend\fR\m[]
     266\m[blue]\fBidmap config * : range\fR\m[]
     267.RE
     268.sp
     269.RS 4
     270.ie n \{\
     271\h'-04'\(bu\h'+03'\c
     272.\}
     273.el \{\
     274.sp -1
     275.IP \(bu 2.3
     276.\}
     277
     278\m[blue]\fBidmap config * : backend\fR\m[]
    293279.RE
    294280.sp
     
    376362\m[blue]\fBwinbind: rpc only\fR\m[]
    377363Setting this parameter forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers\&.
     364.RE
    378365.SH "EXAMPLE SETUP"
    379366.PP
     
    478465        template shell = /bin/bash
    479466        template homedir = /home/%D/%U
    480         idmap uid = 10000\-20000
    481         idmap gid = 10000\-20000
     467        idmap config * : range = 10000\-20000
    482468        workgroup = DOMAIN
    483469        security = domain
     
    507493If more than one UNIX machine is running
    508494winbindd, then in general the user and groups ids allocated by winbindd will not be the same\&. The user and group ids will only be valid for the local machine, unless a shared
    509 \m[blue]\fBidmap backend\fR\m[]
     495\m[blue]\fBidmap config * : backend\fR\m[]
    510496is configured\&.
    511497.PP
Note: See TracChangeset for help on using the changeset viewer.