]> git.pld-linux.org Git - packages/samba.git/blame - samba-manpages_PLD_fixes.patch
- variouse man pages fixes for pointing by them for paths compliant with
[packages/samba.git] / samba-manpages_PLD_fixes.patch
CommitLineData
98605f7e 1diff -Nru samba-2.0.6/docs/manpages/nmbd.8 samba-2.0.6.new/docs/manpages/nmbd.8
2--- samba-2.0.6/docs/manpages/nmbd.8 Thu Nov 11 03:52:15 1999
3+++ samba-2.0.6.new/docs/manpages/nmbd.8 Sun Nov 28 21:04:26 1999
4@@ -78,7 +78,7 @@
5 \fIONLY\fP\&.
6 .IP
7 The default path to this file is compiled into Samba as part of the
8-build process\&. Common defaults are \fI/usr/local/samba/lib/lmhosts\fP,
9+build process\&. Common defaults are \fI/etc/samba/lmhosts\fP,
10 \fI/usr/samba/lib/lmhosts\fP or \fI/etc/lmhosts\fP\&. See the
11 \fBlmhosts (5)\fP man page for details on the contents of this file\&.
12 .IP
13@@ -111,7 +111,7 @@
14 data\&.
15 .IP
16 The default log file path is compiled into Samba as part of the
17-build process\&. Common defaults are \fI/usr/local/samba/var/log\&.nmb\fP,
18+build process\&. Common defaults are \fI/var/log/samba/log\&.nmb\fP,
19 \fI/usr/samba/var/log\&.nmb\fP or \fI/var/log/log\&.nmb\fP\&.
20 .IP
21 .IP "\fB-n primary NetBIOS name\fP"
22@@ -130,7 +130,7 @@
23 .IP
24 .IP "\fB-s configuration file\fP"
25 The default configuration file name is
26-set at build time, typically as \fI/usr/local/samba/lib/smb\&.conf\fP, but
27+set at build time, typically as \fI/etc/samba/smb\&.conf\fP, but
28 this may be changed when Samba is autoconfigured\&.
29 .IP
30 The file specified contains the configuration details required by the
31@@ -159,7 +159,7 @@
32 If running the server as a daemon at startup, this file will need to
33 contain an appropriate startup sequence for the server\&.
34 .PP
35-\fB/usr/local/samba/lib/smb\&.conf\fP
36+\fB/etc/samba/smb\&.conf\fP
37 .PP
38 This is the default location of the
39 \fBsmb\&.conf\fP server configuration
40@@ -186,7 +186,7 @@
41 .PP
42 \fBnmbd\fP will accept SIGHUP, which will cause it to dump out it\'s
43 namelists into the file \f(CWnamelist\&.debug\fP in the
44-\fI/usr/local/samba/var/locks\fP directory (or the \fIvar/locks\fP
45+\fI/car/lock/samba/\fP directory (or the \fIvar/locks\fP
46 directory configured under wherever Samba was configured to install
47 itself)\&. This will also cause \fBnmbd\fP to dump out it\'s server database in
48 the log\&.nmb file\&. In addition, the debug log level of nmbd may be raised
49diff -Nru samba-2.0.6/docs/manpages/smb.conf.5 samba-2.0.6.new/docs/manpages/smb.conf.5
50--- samba-2.0.6/docs/manpages/smb.conf.5 Thu Nov 11 03:52:15 1999
51+++ samba-2.0.6.new/docs/manpages/smb.conf.5 Sun Nov 28 21:02:43 1999
52@@ -1775,7 +1775,7 @@
53 to special case the config files of just a few clients)\&.
54 .IP
55 \fBExample:\fP
56-\f(CW config file = /usr/local/samba/lib/smb\&.conf\&.%m\fP
57+\f(CW config file = /usr/etc/samba/smb\&.conf\&.%m\fP
58 .IP
59 .IP "\fBcopy (S)\fP"
60 .IP
61@@ -3224,7 +3224,7 @@
62 \f(CW lock directory = /tmp/samba\fP
63 .IP
64 \fBExample:\fP
65-\f(CW lock directory = /usr/local/samba/var/locks\fP
66+\f(CW lock directory = /var/lock/samba\fP
67 .IP
68 .IP "\fBlocking (S)\fP"
69 .IP
70@@ -3260,7 +3260,7 @@
71 separate log files for each user or machine\&.
72 .IP
73 \fBExample:\fP
74-\f(CW log file = /usr/local/samba/var/log\&.%m\fP
75+\f(CW log file = /var/log/samba/log\&.%m\fP
76 .IP
77 .IP "\fBlog level (G)\fP"
78 .IP
79@@ -4647,7 +4647,7 @@
80 .DS
81
82
83- preexec = csh -c \'echo \e"Welcome to %S!\e" | /usr/local/samba/bin/smbclient -M %m -I %I\' &
84+ preexec = csh -c \'echo \e"Welcome to %S!\e" | /usr/bin/smbclient -M %m -I %I\' &
85
86 .DE
87
88@@ -4778,7 +4778,7 @@
89 \f(CW print command = lp -d%p -s %s; rm %s\fP
90 .IP
91 \fBExample:\fP
92-\f(CW print command = /usr/local/samba/bin/myprintscript %p %s\fP
93+\f(CW print command = /usr/local/bin/myprintscript %p %s\fP
94 .IP
95 .IP "\fBprint ok (S)\fP"
96 .IP
97@@ -5676,7 +5676,7 @@
98 \f(CW smbrun=<compiled default>\fP
99 .IP
100 \fBExample:\fP
101-\f(CW smbrun = /usr/local/samba/bin/smbrun\fP
102+\f(CW smbrun = /usr/local/bin/smbrun\fP
103 .IP
104 .IP "\fBsocket address (G)\fP"
105 .IP
106diff -Nru samba-2.0.6/docs/manpages/swat.8 samba-2.0.6.new/docs/manpages/swat.8
107--- samba-2.0.6/docs/manpages/swat.8 Thu Nov 11 03:52:16 1999
108+++ samba-2.0.6.new/docs/manpages/swat.8 Sun Nov 28 20:27:39 1999
109@@ -41,50 +41,6 @@
110 .IP
111 Do NOT enable this option on a production server\&.
112 .IP
113-.PP
114-.SH "INSTALLATION"
115-.PP
116-After you compile SWAT you need to run \f(CW"make install"\fP to install the
117-swat binary and the various help files and images\&. A default install
118-would put these in:
119-.PP
120-
121-.DS
122-
123-
124-/usr/local/samba/bin/swat
125-/usr/local/samba/swat/images/*
126-/usr/local/samba/swat/help/*
127-
128-.DE
129-
130-
131-.PP
132-.SH "INETD INSTALLATION"
133-.PP
134-You need to edit your \f(CW/etc/inetd\&.conf\fP and \f(CW/etc/services\fP to
135-enable \fBSWAT\fP to be launched via inetd\&.
136-.PP
137-In \f(CW/etc/services\fP you need to add a line like this:
138-.PP
139-\f(CWswat 901/tcp\fP
140-.PP
141-Note for NIS/YP users - you may need to rebuild the NIS service maps
142-rather than alter your local \f(CW/etc/services\fP file\&.
143-.PP
144-the choice of port number isn\'t really important except that it should
145-be less than 1024 and not currently used (using a number above 1024
146-presents an obscure security hole depending on the implementation
147-details of your \fBinetd\fP daemon)\&.
148-.PP
149-In \f(CW/etc/inetd\&.conf\fP you should add a line like this:
150-.PP
151-\f(CWswat stream tcp nowait\&.400 root /usr/local/samba/bin/swat swat\fP
152-.PP
153-One you have edited \f(CW/etc/services\fP and \f(CW/etc/inetd\&.conf\fP you need
154-to send a HUP signal to inetd\&. To do this use \f(CW"kill -1 PID"\fP where
155-PID is the process ID of the inetd daemon\&.
156-.PP
157 .SH "LAUNCHING"
158 .PP
159 To launch \fBswat\fP just run your favorite web browser and point it at
160@@ -97,21 +53,19 @@
161 .PP
162 .SH "FILES"
163 .PP
164-\fB/etc/inetd\&.conf\fP
165+\fB/etc/sysconfig/rc-inetd/swat\fP
166 .PP
167-This file must contain suitable startup information for the
168-meta-daemon\&.
169+This is rc-inetd service description file\&.
170 .PP
171 \fB/etc/services\fP
172 .PP
173 This file must contain a mapping of service name (e\&.g\&., swat) to
174 service port (e\&.g\&., 901) and protocol type (e\&.g\&., tcp)\&.
175 .PP
176-\fB/usr/local/samba/lib/smb\&.conf\fP
177+\fB/etc/samba/smb\&.conf\fP
178 .PP
179 This is the default location of the \fIsmb\&.conf\fP server configuration
180-file that \fBswat\fP edits\&. Other common places that systems install
181-this file are \fI/usr/samba/lib/smb\&.conf\fP and \fI/etc/smb\&.conf\fP\&.
182+file that \fBswat\fP edits\&.
183 .PP
184 This file describes all the services the server is to make available
185 to clients\&. See \fBsmb\&.conf (5)\fP for more information\&.
This page took 0.177485 seconds and 4 git commands to generate.