1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:param: Add an 'include system krb5 conf' option

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12441

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
Andreas Schneider 2016-11-23 14:39:47 +01:00 committed by Andreas Schneider
parent 7275e0ceff
commit f464f69b33
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<samba:parameter name="include system krb5 conf"
context="G"
type="boolean"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>
Setting this parameter to <value type="example">no</value> will prevent
winbind to include the system /etc/krb5.conf file into the krb5.conf file
it creates. See also <smbconfoption name="create krb5 conf"/>. This option
only applies to Samba built with MIT Kerberos.
</para>
</description>
<value type="default">yes</value>
</samba:parameter>

View File

@ -711,6 +711,7 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
Globals.reset_on_zero_vc = false;
Globals.log_writeable_files_on_exit = false;
Globals.create_krb5_conf = true;
Globals.include_system_krb5_conf = true;
Globals._winbind_max_domain_connections = 1;
/* hostname lookups can be very expensive and are broken on