diff --exclude=CVS -Naur ./samba-config.xml /home/billy/NEWBLFS/BOOK/server/other/samba/samba-config.xml
old
|
new
|
|
183 | 183 | 3. Select DOMAIN01 from the Log on to: combination box and click OK. |
184 | 184 | </userinput></screen></para> |
185 | 185 | |
| 186 | <para>Add the swat entry to <filename>/etc/services</filename>with the |
| 187 | following command: </para> |
| 188 | |
| 189 | <para><screen><userinput> |
| 190 | echo "swat 901/tcp" >> /etc/services |
| 191 | </userinput></screen></para> |
| 192 | |
| 193 | <para>If inetd is used, the following command will add the swat entry |
| 194 | to <filename>/etc/inetd.conf</filename>: </para> |
| 195 | <para><screen><userinput> |
| 196 | echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \ |
| 197 | >> /etc/inetd.conf |
| 198 | </userinput></screen></para> |
| 199 | |
| 200 | <para>If xinetd is used, the following command will add the swat entry |
| 201 | to <filename>/etc/xinetd.conf</filename>: </para> |
| 202 | <para><screen><userinput> |
| 203 | cat >> /etc/xinetd.conf << "EOF" |
| 204 | service swat |
| 205 | { |
| 206 | port = 901 |
| 207 | socket_type = stream |
| 208 | wait = no |
| 209 | only_from = 127.0.0.1 |
| 210 | user = root |
| 211 | server = /usr/sbin/swat |
| 212 | log_on_failure += USERID |
| 213 | } |
| 214 | EOF |
| 215 | </userinput></screen></para> |
| 216 | |
186 | 217 | <para>The Samba Web Administration Tool, swat, can be launched with the |
187 | 218 | following command on SAMBABOX: </para> |
188 | 219 | <para><screen><userinput> |
diff --exclude=CVS -Naur ./samba-inst.xml /home/billy/NEWBLFS/BOOK/server/other/samba/samba-inst.xml
old
|
new
|
|
23 | 23 | make install && |
24 | 24 | mkdir /etc/samba && |
25 | 25 | mkdir /etc/samba/private && |
26 | | echo "swat 901/tcp" >> /etc/services && |
27 | | echo "swat stream tcp nowait.400 root /usr/sbin/swat swat" \ |
28 | | >> /etc/inetd.conf |
29 | 26 | </userinput></screen></para> |
30 | 27 | </sect2> |
31 | 28 | |