File: defaultservice.xml

package info (click to toggle)
samba 2%3A4.1.17%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 102,820 kB
  • sloc: ansic: 1,165,393; xml: 114,314; python: 103,454; perl: 28,180; sh: 12,167; asm: 3,281; cpp: 2,281; yacc: 1,949; ada: 1,681; exp: 1,582; makefile: 1,287; pascal: 1,082; cs: 879; lex: 566; awk: 140; csh: 58; sed: 45
file content (30 lines) | stat: -rw-r--r-- 1,326 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<samba:parameter name="default service"
                 context="G"
                 advanced="1" developer="1"
				 type="string"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<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>

	<para>
	Typically the default service would be a <smbconfoption name="guest ok"/>, <smbconfoption
	name="read-only"/> service.</para> <para>Also note that the apparent service name will be changed to equal
	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>

	<para>Note also that any &quot;_&quot; characters in the name of the service 
	used in the default service will get mapped to a &quot;/&quot;. This allows for
	interesting things.</para>
</description>
<value type="default"></value>
<value type="example">pub</value>
</samba:parameter>