mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
More updates. Fix formatting for examples, support long lines in examples.
(This used to be commit a3f8877038
)
This commit is contained in:
parent
7639ec0214
commit
6c39a459e9
@ -227,10 +227,7 @@ libcups.so.2 => /usr/lib/libcups.so.2 (0x40123000)
|
||||
<smbconfoption name="path">/var/spool/samba-special</smbconfoption>
|
||||
<smbconfoption name="printing">sysv</smbconfoption>
|
||||
<smbconfoption name="printcap">lpstat</smbconfoption>
|
||||
<smbconfoption name="print command">echo "NEW: `date`: printfile %f" \</smbconfoption>
|
||||
<member><parameter> >> /tmp/smbprn.log ; \</parameter></member>
|
||||
<member><parameter>echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; \</parameter></member>
|
||||
<member><parameter>echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f</parameter></member>
|
||||
<smbconfoption name="print command">echo "NEW: `date`: printfile %f" >> /tmp/smbprn.log ; echo " `date`: p-%p s-%s f-%f" >> /tmp/smbprn.log ; echo " `date`: j-%j J-%J z-%z c-%c" >> /tmp/smbprn.log ; rm %f </smbconfoption>
|
||||
<smbconfoption name="public">no</smbconfoption>
|
||||
<smbconfoption name="guest ok">no</smbconfoption>
|
||||
<smbconfoption name="writable">no</smbconfoption>
|
||||
|
@ -1150,9 +1150,7 @@ site). See <link linkend="prtdollar">next example</link>.
|
||||
<smbconfcomment>members of the ntadmin group should be able to add drivers and set</smbconfcomment>
|
||||
<smbconfcomment>printer properties. root is implicitly always a 'printer admin'.</smbconfcomment>
|
||||
<smbconfoption name="printer admin">@ntadmin</smbconfoption>
|
||||
<member>...</member>
|
||||
<smbconfsection name="[printers]"/>
|
||||
<member>...</member>
|
||||
<smbconfsection name="[print$]"/>
|
||||
<smbconfoption name="comment">Printer Driver Download Area</smbconfoption>
|
||||
<smbconfoption name="path">/etc/samba/drivers</smbconfoption>
|
||||
|
@ -102,7 +102,7 @@
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="smbconfblock">
|
||||
<xsl:text> \begin{lstlisting}[language=smbconf] </xsl:text>
|
||||
<xsl:text> \begin{lstlisting}[language=smbconf,style=smbconfblock] </xsl:text>
|
||||
<xsl:apply-templates/>
|
||||
<xsl:text>\end{lstlisting} </xsl:text>
|
||||
</xsl:template>
|
||||
|
@ -515,6 +515,16 @@ footskip=.025in}
|
||||
morecomment=[l]{\#},
|
||||
}
|
||||
|
||||
\lstset{backgroundcolor=\color{lightgray},frame=single,}
|
||||
\newcommand{\linebreaksign}{\hbox{\ensuremath\hookleftarrow}}
|
||||
|
||||
\lstdefinestyle{smbconfblock}
|
||||
{
|
||||
breaklines=true,
|
||||
backgroundcolor=\color{lightgray},
|
||||
frame=single,
|
||||
frameround=tttt,
|
||||
prebreak={\space\linebreaksign}
|
||||
}
|
||||
|
||||
\newcommand{\smbconfsection}[1]{\emph{#1}}
|
||||
\newcommand{\smbconfoption}[1]{\index{#1}\emph{#1}}
|
||||
|
Loading…
Reference in New Issue
Block a user