openbsd-ports/net/samba/patches/patch-docs_manpages_swat_8
brad 3874e6995b Update to Samba 3.0.30; bug fixes and a security issue fixed,
CVE-2008-1105.

Specifically crafted SMB responses can result in a heap overflow
in the Samba client code. Because the server process, smbd, can
itself act as a client during operations such as printer
notification and domain authentication, this issue affects both
Samba client and server installations.

Feedback from sthen@
ok mbalmer@ sthen@
2008-07-11 11:40:33 +00:00

81 lines
2.1 KiB
Plaintext

$OpenBSD: patch-docs_manpages_swat_8,v 1.6 2008/07/11 11:40:33 brad Exp $
--- ../docs/manpages/swat.8.orig Thu Jul 3 22:20:31 2008
+++ ../docs/manpages/swat.8 Thu Jul 3 22:22:36 2008
@@ -103,49 +103,6 @@ will be appended (e\.g\. log\.smbclient, log\.smbd, et
.RS 4
Print a summary of command line options\.
.RE
-.SH "INSTALLATION"
-.PP
-Swat is included as binary package with most distributions\. The package manager in this case takes care of the installation and configuration\. This section is only for those who have compiled swat from scratch\.
-.PP
-After you compile SWAT you need to run
-make install
-to install the
-swat
-binary and the various help files and images\. A default install would put these in:
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-/usr/local/samba/sbin/swat
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-/usr/local/samba/swat/images/*
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-/usr/local/samba/swat/help/*
-.sp
-.RE
.SS "Inetd Installation"
.PP
You need to edit your
@@ -173,7 +130,7 @@ In
\fI/etc/inetd\.conf\fR
you should add a line like this:
.PP
-swat stream tcp nowait\.400 root /usr/local/samba/sbin/swat swat
+swat stream tcp nowait\.400 root ${PREFIX}/libexec/swat swat
.PP
Once you have edited
\fI/etc/services\fR
@@ -199,14 +156,12 @@ This file must contain suitable startup information fo
This file must contain a mapping of service name (e\.g\., swat) to service port (e\.g\., 901) and protocol type (e\.g\., tcp)\.
.RE
.PP
-\fI/usr/local/samba/lib/smb\.conf\fR
+\fI${SYSCONFDIR}/samba/smb\.conf\fR
.RS 4
This is the default location of the
\fBsmb.conf\fR(5)
-server configuration file that swat edits\. Other common places that systems install this file are
-\fI /usr/samba/lib/smb\.conf\fR
-and
-\fI/etc/smb\.conf \fR\. This file describes all the services the server is to make available to clients\.
+server configuration file that swat edits\.
+This file describes all the services the server is to make available to clients\.
.RE
.SH "WARNINGS"
.PP