2004-04-07 14:15:11 +04:00
<samba:parameter name= "default service"
context="G"
2015-05-01 00:32:45 +03:00
type="string"
2014-01-09 08:26:16 +04:00
function="defaultservice"
2019-11-04 19:21:34 +03:00
substitution="1"
2005-03-13 01:41:20 +03:00
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
2004-04-07 14:15:11 +04:00
<synonym > default</synonym>
<description >
<para > This parameter specifies the name of a service
which will be connected to if the service actually requested cannot
be found. Note that the square brackets are <emphasis > NOT</emphasis>
given in the parameter value (see example below).</para>
<para > There is no default value for this parameter. If this
parameter is not given, attempting to connect to a nonexistent
service results in an error.</para>
2005-07-07 01:23:58 +04:00
<para >
Typically the default service would be a <smbconfoption name= "guest ok" /> , <smbconfoption
2022-09-24 02:49:33 +03:00
name="read only"/> service.</para> <para > Also note that the apparent service name will be changed to equal
2005-07-07 01:23:58 +04:00
that of the requested service, this is very useful as it allows you to use macros like <parameter
moreinfo="none">%S</parameter> to make a wildcard service.
</para>
2004-04-07 14:15:11 +04:00
<para > Note also that any " _" characters in the name of the service
used in the default service will get mapped to a " /" . This allows for
interesting things.</para>
</description>
<value type= "default" > </value>
<value type= "example" > pub</value>
</samba:parameter>