1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/docs-xml/smbdotconf/security/guestaccount.xml
Ralph Boehme 24905ba82d docs-xml: remove explicit "constant"
The constant mark applied to types "string" and "ustring". The previous patches
in this patchset already markes all string options as either constant or
substituted, but it's still possible to add options or change existing ones to
be neither constant nor substituted.

In order to enforce strings to be either constant or substitued, remove the
explicit constant marker. Instead, any option that is not marked as substituted
is implicitly made constant.

This patch doesn't change behaviour and all generated files are the same before
and after this change.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2019-11-27 10:25:37 +00:00

28 lines
1.3 KiB
XML

<samba:parameter name="guest account"
context="G"
type="string"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This is a username which will be used for access
to services which are specified as <smbconfoption name="guest ok"/> (see below). Whatever privileges this
user has will be available to any client connecting to the guest service.
This user must exist in the password file, but does not require
a valid login. The user account &quot;ftp&quot; is often a good choice
for this parameter.
</para>
<para>On some systems the default guest account &quot;nobody&quot; may not
be able to print. Use another account in this case. You should test
this by trying to log in as your guest user (perhaps by using the
<command moreinfo="none">su -</command> command) and trying to print using the
system print command such as <command moreinfo="none">lpr(1)</command> or <command moreinfo="none">
lp(1)</command>.</para>
<para>This parameter does not accept % macros, because
many parts of the system require this value to be
constant for correct operation.</para>
</description>
<value type="default">nobody<comment>default can be changed at compile-time</comment></value>
<value type="example">ftp</value>
</samba:parameter>