diff options
author | Andreas Schneider <asn@samba.org> | 2014-04-28 15:22:34 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-04-29 23:31:09 +0200 |
commit | 7556c20d4bf90bfcc288ba1c82008105eaf8f261 (patch) | |
tree | 5a9c5d0be6035c379a8c43c26c1e3616d8479199 /docs-xml | |
parent | b5a67b9d24ceb84cf00721770d31c82196dafa56 (diff) | |
download | samba-7556c20d4bf90bfcc288ba1c82008105eaf8f261.tar.gz |
param: Add 'mit kdc command' to change the default.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'docs-xml')
-rwxr-xr-x | docs-xml/smbdotconf/generate-file-list.sh | 1 | ||||
-rw-r--r-- | docs-xml/smbdotconf/security/mitkdccommand.xml | 16 | ||||
-rw-r--r-- | docs-xml/wscript_build | 9 |
3 files changed, 26 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/generate-file-list.sh b/docs-xml/smbdotconf/generate-file-list.sh index 9cfcd42d693..4a25f1e6d49 100755 --- a/docs-xml/smbdotconf/generate-file-list.sh +++ b/docs-xml/smbdotconf/generate-file-list.sh @@ -15,6 +15,7 @@ echo "<!DOCTYPE section [ <!ENTITY pathconfig.WINBINDD_SOCKET_DIR '\${prefix}/var/run/winbindd'> <!ENTITY pathconfig.CACHEDIR '\${prefix}/var/cache'> <!ENTITY pathconfig.NTP_SIGND_SOCKET_DIR '\${prefix}/var/lib/ntp_signd'> +<!ENTITY pathconfig.MITKDCPATH '\${prefix}/sbin/krb5kdc'> ]>" DIR=. diff --git a/docs-xml/smbdotconf/security/mitkdccommand.xml b/docs-xml/smbdotconf/security/mitkdccommand.xml new file mode 100644 index 00000000000..c8272de7908 --- /dev/null +++ b/docs-xml/smbdotconf/security/mitkdccommand.xml @@ -0,0 +1,16 @@ +<samba:parameter name="mit kdc command" + context="G" + type="list" + advanced="1" + xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> +<description> + <para>This option specifies the path to the MIT kdc binary.</para> + + <para>If the KDC is not installed in the default location and wasn't + correctly detected during build then you should modify this variable and + point it to the correct binary.</para> +</description> + +<value type="default">&pathconfig.MITKDCPATH;</value> +<value type="example">/opt/mit/sbin/krb5kdc</value> +</samba:parameter> diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build index 0b690a878ff..cbc09a56559 100644 --- a/docs-xml/wscript_build +++ b/docs-xml/wscript_build @@ -111,6 +111,15 @@ def smbdotconf_generate_parameter_list(task): for entity in entities: t += "%s\n" % entity + # We need this if we build with Heimdal + mit_kdc_path = '"/usr/sbin/krb5kdc"' + + # The MIT krb5kdc path is set if we build with MIT Kerberos + if bld.CONFIG_SET('MIT_KDC_PATH'): + mit_kdc_path = bld.CONFIG_GET('MIT_KDC_PATH') + + t += "<!ENTITY pathconfig.MITKDCPATH %s>\n" % mit_kdc_path + t += "]>\n" t += "<section>\n" for article in articles: |