jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gzAdd password settings for krb5
This is a workaround for instructions that would wait forever for a password (or timeout) in krb5. But it sets very simple passwords, that should be changed afterwards.
BLFS/xsl/process-replaceable.xsl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/BLFS/xsl/process-replaceable.xsl b/BLFS/xsl/process-replaceable.xsl index ca61b60..ac48074 100644 --- a/BLFS/xsl/process-replaceable.xsl +++ b/BLFS/xsl/process-replaceable.xsl @@ -112,6 +112,9 @@ <!-- for MIT-Kerberos config file --> <xsl:when test="string()='<EXAMPLE.ORG>'"> <xsl:copy-of select="$DOMAINNAME"/> + <xsl:if test="contains(preceding-sibling::text()[1],'kdb5_util')"> + <xsl:text> -P rtpw </xsl:text> + </xsl:if> </xsl:when> <xsl:when test="string()='<example.org>'"> <xsl:copy-of select="$domainname"/> @@ -122,6 +125,15 @@ <!-- in this case, even root can be used --> <xsl:when test="string()='<loginname>'"> <xsl:text>$USER</xsl:text> + <xsl:if test="contains(preceding-sibling::text()[1],'-policy')"> + <xsl:text> -pw mypw</xsl:text> + </xsl:if> + <xsl:if test="contains(preceding-sibling::text()[1],'kinit')"> + <xsl:text> << PASS_EOF +mypw +PASS_EOF +</xsl:text> + </xsl:if> </xsl:when> <!-- for xorg environment. Note that libreoffice too uses <PREFIX> --> <xsl:when test="string()='<PREFIX>' and