[Pkg-samba-maint] Upload?

Peter Eisentraut peter_e at gmx.net
Tue Oct 10 18:29:34 UTC 2006


Peter Eisentraut wrote:
> Christian Perrier wrote:
> > So....seems we're still waiting for an upload. Is there *any*
> > objection for one?
>
> We need to fix the stuff with the comma.  I'm looking into it now.

We had never figured where these things came from, but the strings in
the bug reports looked fairly uniform, so I can offer the fix below.

Comments?

--- samba-common.postinst       (Revision 1177)
+++ samba-common.postinst       (Arbeitskopie)
@@ -89,7 +89,7 @@
        then
                sed -e "s/^\([[:space:]]*\)\[global\]/\1\[global\]/i
                        /^[[:space:]]*\[global\]/,/^[[:space:]]*\[/ \
-                               s/^\([[:space:]]*passdb backend[[:space:]]*=.*\)[[:space:]]*guest[[:space:]]*$/\1/i" \
+                               s/^\([[:space:]]*passdb backend[[:space:]]*=[^,]*\),\?[[:space:]]*guest[[:space:]]*$/\1/i" \
                        < /etc/samba/smb.conf >${TMPFILE}
                mv -f ${TMPFILE} /etc/samba/smb.conf
        fi



More information about the Pkg-samba-maint mailing list